Merge branch 'VM/RED-7023' into 'master'
RED-7023 - Option to compare (effective) dossier dictionary with template dictionary Closes RED-7023 See merge request redactmanager/red-ui!166
This commit is contained in:
commit
092b8c2b28
@ -84,6 +84,7 @@
|
||||
[selectedDictionaryType]="selectedDictionary.type"
|
||||
[activeEntryType]="activeEntryType"
|
||||
[hint]="selectedDictionary.hint"
|
||||
[currentDossierId]="dossier.dossierId"
|
||||
></redaction-dictionary-manager>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -72,7 +72,10 @@
|
||||
[placeholder]="selectedDossier.dossierId ? selectedDossier.dossierName : (selectDictionary.label | translate)"
|
||||
>
|
||||
<ng-container *ngFor="let dossier of dossiers; let index = index">
|
||||
<mat-option *ngIf="dossier.dossierId !== selectedDossier.dossierId" [value]="dossier">
|
||||
<mat-option
|
||||
*ngIf="dossier.dossierId !== selectedDossier.dossierId && dossier.dossierId !== currentDossierId"
|
||||
[value]="dossier"
|
||||
>
|
||||
{{ dossier.dossierName }}
|
||||
</mat-option>
|
||||
<mat-divider
|
||||
|
||||
@ -46,6 +46,12 @@ form {
|
||||
> .compare {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
mat-select:not(.mat-mdc-select-disabled) {
|
||||
::ng-deep .mat-mdc-select-placeholder {
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.w-450 {
|
||||
|
||||
@ -39,6 +39,7 @@ export class DictionaryManagerComponent implements OnChanges {
|
||||
readonly #currentTab = window.location.href.split('/').pop();
|
||||
@Input() type: DictionaryType = 'dictionary';
|
||||
@Input() entityType?: string;
|
||||
@Input() currentDossierId: string;
|
||||
@Input() withFloatingActions = true;
|
||||
@Input() filterByDossierTemplate = false;
|
||||
@Input() initialEntries: List;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user