Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring

This commit is contained in:
amentis 2024-05-16 15:29:14 +03:00
commit 6fe78b4059
2 changed files with 25 additions and 28 deletions

View File

@ -1,13 +1,12 @@
<div class="w-100">
<div mat-dialog-title>
<div class="mt-4 mr-4">
<div class="row">
<div class="col-auto ml-auto close-btn" (click)="close()">
<mat-icon>close</mat-icon>
</div>
</div>
</div>
</div>
<div mat-dialog-content class="row">
<div mat-dialog-content class="row">
<ng-container *ngIf="fieldSet && propertiesFormGroup" class="row">
<div class="col-12">
<div mat-dialog-content>
@ -21,10 +20,9 @@
<app-description-form-field class="col-12 compositeField" [propertiesFormGroup]="propertiesFormGroup.get('fields')" [field]="field" [fieldSet]="fieldSet" [isChild]="true"></app-description-form-field>
</div>
</ng-container>
</div>
</div>
<div mat-dialog-actions class="row">
<div mat-dialog-actions class="row">
<div class="ml-auto col-auto"><button class="normal-btn-light-sm" (click)="cancel()">{{'DESCRIPTION-EDITOR.ACTIONS.CANCEL' | translate}}</button></div>
<div class="col-auto"><button class="normal-btn-sm" [disabled]="!propertiesFormGroup.get('fields').valid" (click)="save()">{{'DESCRIPTION-EDITOR.ACTIONS.SAVE' | translate}}</button></div>
</div>
</div>

View File

@ -123,7 +123,6 @@ export class DescriptionFormFieldSetComponent extends BaseComponent {
editTableMultiplicityFieldInDialog(fieldSetIndex: number) {
const dialogRef = this.dialog.open(FormFieldSetEditorDialogComponent, {
width: '750px',
disableClose: true,
data: {
fieldSet: this.fieldSet,