diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index f65a6f68f2..335b6199ba 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -684,6 +684,11 @@ a { @apply hidden; } +/* Hide the element with class nc-selected-item-icon */ +.ant-select-selection-item .nc-select-hide-item { + @apply hidden; +} + .ant-select-item-option-selected:not(.ant-select-item-option-disabled) { @apply bg-transparent; } diff --git a/packages/nc-gui/components/account/UserList.vue b/packages/nc-gui/components/account/UserList.vue index ef6123c4d2..91642d897a 100644 --- a/packages/nc-gui/components/account/UserList.vue +++ b/packages/nc-gui/components/account/UserList.vue @@ -208,6 +208,19 @@ const columns = [ justify: 'justify-end', }, ] as NcTableColumnProps[] + +const userRoleOptions = [ + { + title: 'objects.roleType.orgLevelCreator', + subtitle: 'msg.info.roles.orgCreator', + value: OrgUserRoles.CREATOR, + }, + { + title: 'objects.roleType.orgLevelViewer', + subtitle: 'msg.info.roles.orgViewer', + value: OrgUserRoles.VIEWER, + }, +]