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,
|
||||
})
|
||||
export class DictionaryScreenComponent implements OnInit {
|
||||
readonly currentUser = getCurrentUser<User>();
|
||||
readonly roles = Roles;
|
||||
readonly initialEntries$ = new BehaviorSubject<List>([]);
|
||||
readonly type: DictionaryType;
|
||||
readonly entityType = getParam(ENTITY_TYPE);
|
||||
isLeavingPage = false;
|
||||
dossierTemplateId = getParam(DOSSIER_TEMPLATE_ID);
|
||||
protected readonly currentUser = getCurrentUser<User>();
|
||||
protected readonly roles = Roles;
|
||||
protected readonly initialEntries$ = new BehaviorSubject<List>([]);
|
||||
protected readonly type: DictionaryType;
|
||||
protected readonly entityType = getParam(ENTITY_TYPE);
|
||||
protected readonly dossierTemplateId = getParam(DOSSIER_TEMPLATE_ID);
|
||||
protected isLeavingPage = false;
|
||||
@ViewChild('dictionaryManager', { static: false })
|
||||
private readonly _dictionaryManager: DictionaryManagerComponent;
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ export class DictionaryManagerComponent implements OnChanges, OnInit {
|
||||
@Input() type: DictionaryType = 'dictionary';
|
||||
@Input() entityType?: string;
|
||||
@Input() currentDossierId: string;
|
||||
@Input() currentDossierTemplateId!: string;
|
||||
@Input({ required: true }) currentDossierTemplateId!: string;
|
||||
@Input() withFloatingActions = true;
|
||||
@Input() initialEntries: List;
|
||||
@Input() canEdit = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user