diff --git a/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue b/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue index ce7bb500c6..f7842166b5 100644 --- a/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue +++ b/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue @@ -474,6 +474,7 @@ async function openAudit(source: SourceType) { 'sourceId': source!.id, 'onUpdate:modelValue': () => closeDialog(), 'baseId': base.value!.id, + 'bordered': true, }) function closeDialog() { diff --git a/packages/nc-gui/components/dlg/ProjectAudit.vue b/packages/nc-gui/components/dlg/ProjectAudit.vue index 4e98cf9a82..c0b5c22938 100644 --- a/packages/nc-gui/components/dlg/ProjectAudit.vue +++ b/packages/nc-gui/components/dlg/ProjectAudit.vue @@ -4,13 +4,14 @@ const props = defineProps<{ baseId: string sourceId: string modelValue: boolean + bordered?: boolean }>() const emit = defineEmits(['update:modelValue']) const isOpen = useVModel(props, 'modelValue', emit) -const { workspaceId, sourceId } = toRefs(props) +const { workspaceId, sourceId, bordered } = toRefs(props) const { openedProject: base } = storeToRefs(useBases()) @@ -48,7 +49,13 @@ onMounted(async () => { diff --git a/packages/nc-gui/components/workspace/AuditLogs.vue b/packages/nc-gui/components/workspace/AuditLogs.vue index b3d16eef4c..db9fa7bb4f 100644 --- a/packages/nc-gui/components/workspace/AuditLogs.vue +++ b/packages/nc-gui/components/workspace/AuditLogs.vue @@ -10,6 +10,7 @@ interface Props { workspaceId?: string baseId?: string sourceId?: string + bordered?: boolean } const props = defineProps() @@ -189,7 +190,7 @@ const updateOrderBy = (field: 'created_at' | 'user') => { auditLogsQuery.value.orderBy[field] = 'asc' } - loadAudits() + loadAudits(undefined, undefined, false) } const handleCloseDropdown = (field: 'user' | 'base' | 'type' | 'dateRange') => { @@ -724,18 +725,19 @@ onMounted(async () => {