diff --git a/packages/nc-gui/assets/nc-icons/chevron-up-down.svg b/packages/nc-gui/assets/nc-icons/chevron-up-down.svg new file mode 100644 index 0000000000..c6ef5b7f24 --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/chevron-up-down.svg @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/packages/nc-gui/components/workspace/AuditLogs.vue b/packages/nc-gui/components/workspace/AuditLogs.vue index a16113d210..6a1b591858 100644 --- a/packages/nc-gui/components/workspace/AuditLogs.vue +++ b/packages/nc-gui/components/workspace/AuditLogs.vue @@ -1,5 +1,6 @@ + +
- Base: {{ (auditLogsQuery.base && bases.get(auditLogsQuery.base)?.title) || 'All' }} + Base: + + {{ (auditLogsQuery.base && bases.get(auditLogsQuery.base)?.title) || 'All' }} +
- + -
+
- User: - {{ - (auditLogsQuery.user && - (collaboratorsMap.get(auditLogsQuery.user)?.display_name || - collaboratorsMap - .get(auditLogsQuery.user) - ?.email?.slice(0, collaboratorsMap.get(auditLogsQuery.user)?.email.indexOf('@')))) || - 'All' - }} + Type: + + {{ auditLogsQuery.type ? auditOperationTypeLabels[auditLogsQuery.type] : 'All' }} +
@@ -438,46 +555,32 @@ onMounted(async () => {
-
+
User
- +
-
+
Time stamp
- +
Base
@@ -761,4 +864,18 @@ onMounted(async () => { .cell-header { @apply uppercase text-tiny font-semibold text-gray-500; } +:deep(.nc-button) { + svg.sort-asc path.up { + @apply !stroke-brand-500; + } + svg.sort-desc path.down { + @apply !stroke-brand-500; + } +} +:deep(.nc-menu-item::after) { + content: none; +} +:deep(.ant-menu.nc-menu) { + @apply !pt-0; +} diff --git a/packages/nc-gui/utils/iconUtils.ts b/packages/nc-gui/utils/iconUtils.ts index e8ff6f0af9..4e81a37327 100644 --- a/packages/nc-gui/utils/iconUtils.ts +++ b/packages/nc-gui/utils/iconUtils.ts @@ -114,6 +114,7 @@ import NcCommentHere from '~icons/nc-icons/comment-here' import NcAddDataSource from '~icons/nc-icons/add-data-source' import NcDatabaseIcon from '~icons/nc-icons/database' import NcChevronDown from '~icons/nc-icons/chevron-down' +import NcChevronUpDown from '~icons/nc-icons/chevron-up-down' import NcTrash from '~icons/nc-icons/trash' import NcPencil from '~icons/nc-icons/pencil' import NcRename from '~icons/nc-icons/rename' @@ -634,6 +635,7 @@ export const iconMap = { maximizeAll: NcMaximizeAll, ncDrag: NcDrag, refresh: NcRefresh, + chevronUpDown: NcChevronUpDown, } export const getMdiIcon = (type: string): any => {