small fix
This commit is contained in:
parent
a5b9aaccd8
commit
85b80f6c29
|
@ -15,9 +15,9 @@
|
||||||
<ng-template #viewOnlyTemplate>
|
<ng-template #viewOnlyTemplate>
|
||||||
<div class="description-title">{{'DESCRIPTION-EDITOR.TITLE-PREVIEW-DESCRIPTION' | translate}}</div>
|
<div class="description-title">{{'DESCRIPTION-EDITOR.TITLE-PREVIEW-DESCRIPTION' | translate}}</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<div *ngIf="item?.dmp?.id" class="d-flex flex-direction-row dmp-info">
|
<div *ngIf="item?.plan?.id" class="d-flex flex-direction-row dmp-info">
|
||||||
<div class="col-auto description-to-dmp">{{'DESCRIPTION-EDITOR.TO-PLAN' | translate}}</div>
|
<div class="col-auto description-to-dmp">{{'DESCRIPTION-EDITOR.TO-PLAN' | translate}}</div>
|
||||||
<div class="dmp-title p-0">: {{ item?.dmp?.label }}</div>
|
<div class="dmp-title p-0">: {{ item?.plan?.label }}</div>
|
||||||
<div class="col-auto d-flex align-items-center">
|
<div class="col-auto d-flex align-items-center">
|
||||||
<a [routerLink]="routerUtils.generateUrl(['/plans/overview/', item.plan.id])" target="_blank" class="pointer open-in-new-icon">
|
<a [routerLink]="routerUtils.generateUrl(['/plans/overview/', item.plan.id])" target="_blank" class="pointer open-in-new-icon">
|
||||||
<mat-icon class="size-18">open_in_new</mat-icon>
|
<mat-icon class="size-18">open_in_new</mat-icon>
|
||||||
|
@ -178,7 +178,7 @@
|
||||||
[validationErrorModel]="editorModel.validationErrorModel"
|
[validationErrorModel]="editorModel.validationErrorModel"
|
||||||
[isNew]="isNew || isCopy"
|
[isNew]="isNew || isCopy"
|
||||||
[canReview]="canReview"
|
[canReview]="canReview"
|
||||||
[dmpUsers]="item?.dmp?.dmpUsers ?? []"
|
[dmpUsers]="item?.plan?.planUsers ?? []"
|
||||||
></app-description-form>
|
></app-description-form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -186,7 +186,7 @@ export class DescriptionFormFieldSetComponent extends BaseComponent {
|
||||||
entityId: this.descriptionId,
|
entityId: this.descriptionId,
|
||||||
anchor: fieldSetId,
|
anchor: fieldSetId,
|
||||||
entityType: AnnotationEntityType.Description,
|
entityType: AnnotationEntityType.Description,
|
||||||
dmpUsers: this.dmpUsers
|
planUsers: this.dmpUsers
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
dialogRef.afterClosed().pipe(takeUntil(this._destroyed)).subscribe(changesMade => {
|
dialogRef.afterClosed().pipe(takeUntil(this._destroyed)).subscribe(changesMade => {
|
||||||
|
|
Loading…
Reference in New Issue