Browse Source

fix(nc-gui): ai review changes

pull/8836/head
Ramesh Mane 6 months ago
parent
commit
f940c263ba
  1. 5
      packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue
  2. 2
      packages/nc-gui/components/workspace/AuditLogs.vue
  3. 2
      packages/nc-gui/lang/en.json
  4. 2
      packages/nc-gui/pages/account/index.vue

5
packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

@ -458,11 +458,6 @@ async function openAudit(source: SourceType) {
auditLogsQuery.value = {
...auditLogsQuery.value,
user: undefined,
dateRange: undefined,
dateRangeLabel: undefined,
startDate: undefined,
endData: undefined,
orderBy: {
created_at: 'desc',
user: undefined,

2
packages/nc-gui/components/workspace/AuditLogs.vue

@ -191,7 +191,7 @@ useEventListener(tableWrapper, 'scroll', () => {
'word-break': 'keep-all',
}"
>
<span class="keep-word min-w-[115px]"> Audit Logs : </span>
<span class="keep-word min-w-[115px]"> {{ $t('title.auditLogs') }} : </span>
<NcTooltip class="max-w-[80%] truncate !leading-7" show-on-truncate-only placement="bottom">
<template #title>
{{ bases.get(baseId)?.title }}

2
packages/nc-gui/lang/en.json

@ -457,7 +457,7 @@
"uiACL": "UI Access Control",
"metaOperations": "Metadata Operations",
"audit": "Audit",
"auditLogs": "Audit Log",
"auditLogs": "Audit Logs",
"sqlMigrations": "SQL Migrations",
"dbCredentials": "Database Credentials",
"advancedParameters": "SSL & Advanced parameters",

2
packages/nc-gui/pages/account/index.vue

@ -95,7 +95,7 @@ const logout = async () => {
<div class="flex items-center space-x-2">
<component :is="iconMap.audit" class="opacity-80" />
<div class="select-none">Audit Logs</div>
<div class="select-none">{{ $t('title.auditLogs') }}</div>
</div>
</NcMenuItem>
<NcMenuItem

Loading…
Cancel
Save