DM-358 - set some keys depending on user roles

This commit is contained in:
Valentin Mihai 2023-09-08 15:48:27 +03:00
parent c83eb568db
commit 4f4123cd5d
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@
cursor: help; cursor: help;
&.documine-theme { &.documine-theme {
background: rgba(253,189,0, 0.5); background: rgba(253, 189, 0, 0.5);
box-shadow: 0 0 0 2px var(--iqser-yellow-2) inset; box-shadow: 0 0 0 2px var(--iqser-yellow-2) inset;
} }
} }

View File

@ -17,12 +17,14 @@ export const ScrollableParentViews = {
VIRTUAL_SCROLL: 'VIRTUAL_SCROLL', VIRTUAL_SCROLL: 'VIRTUAL_SCROLL',
ANNOTATIONS_LIST: 'ANNOTATIONS_LIST', ANNOTATIONS_LIST: 'ANNOTATIONS_LIST',
SCM_EDIT_DIALOG: 'SCM_EDIT_DIALOG', SCM_EDIT_DIALOG: 'SCM_EDIT_DIALOG',
WORKFLOW_VIEW: 'WORKFLOW_VIEW',
} as const; } as const;
export const SCROLLABLE_PARENT_VIEWS_IDS = { export const SCROLLABLE_PARENT_VIEWS_IDS = {
VIRTUAL_SCROLL: 'virtual-scroll', VIRTUAL_SCROLL: 'virtual-scroll',
ANNOTATIONS_LIST: 'annotations-list', ANNOTATIONS_LIST: 'annotations-list',
SCM_EDIT_DIALOG: 'scm-edit', SCM_EDIT_DIALOG: 'scm-edit',
WORKFLOW_VIEW: 'workflow-view',
} as const; } as const;
export type ScrollableParentView = keyof typeof ScrollableParentViews; export type ScrollableParentView = keyof typeof ScrollableParentViews;