RED-8045 - fixed mr comments
This commit is contained in:
parent
4953ed2e68
commit
dc85025932
@ -17,13 +17,13 @@ import { getParam, List } from '@iqser/common-ui/lib/utils';
|
|||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
})
|
})
|
||||||
export class DictionaryScreenComponent implements OnInit {
|
export class DictionaryScreenComponent implements OnInit {
|
||||||
readonly currentUser = getCurrentUser<User>();
|
protected readonly currentUser = getCurrentUser<User>();
|
||||||
readonly roles = Roles;
|
protected readonly roles = Roles;
|
||||||
readonly initialEntries$ = new BehaviorSubject<List>([]);
|
protected readonly initialEntries$ = new BehaviorSubject<List>([]);
|
||||||
readonly type: DictionaryType;
|
protected readonly type: DictionaryType;
|
||||||
readonly entityType = getParam(ENTITY_TYPE);
|
protected readonly entityType = getParam(ENTITY_TYPE);
|
||||||
isLeavingPage = false;
|
protected readonly dossierTemplateId = getParam(DOSSIER_TEMPLATE_ID);
|
||||||
dossierTemplateId = getParam(DOSSIER_TEMPLATE_ID);
|
protected isLeavingPage = false;
|
||||||
@ViewChild('dictionaryManager', { static: false })
|
@ViewChild('dictionaryManager', { static: false })
|
||||||
private readonly _dictionaryManager: DictionaryManagerComponent;
|
private readonly _dictionaryManager: DictionaryManagerComponent;
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export class DictionaryManagerComponent implements OnChanges, OnInit {
|
|||||||
@Input() type: DictionaryType = 'dictionary';
|
@Input() type: DictionaryType = 'dictionary';
|
||||||
@Input() entityType?: string;
|
@Input() entityType?: string;
|
||||||
@Input() currentDossierId: string;
|
@Input() currentDossierId: string;
|
||||||
@Input() currentDossierTemplateId!: string;
|
@Input({ required: true }) currentDossierTemplateId!: string;
|
||||||
@Input() withFloatingActions = true;
|
@Input() withFloatingActions = true;
|
||||||
@Input() initialEntries: List;
|
@Input() initialEntries: List;
|
||||||
@Input() canEdit = false;
|
@Input() canEdit = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user