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 = {
...auditLogsQuery.value, ...auditLogsQuery.value,
user: undefined,
dateRange: undefined,
dateRangeLabel: undefined,
startDate: undefined,
endData: undefined,
orderBy: { orderBy: {
created_at: 'desc', created_at: 'desc',
user: undefined, user: undefined,

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

@ -191,7 +191,7 @@ useEventListener(tableWrapper, 'scroll', () => {
'word-break': 'keep-all', '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"> <NcTooltip class="max-w-[80%] truncate !leading-7" show-on-truncate-only placement="bottom">
<template #title> <template #title>
{{ bases.get(baseId)?.title }} {{ bases.get(baseId)?.title }}

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

@ -457,7 +457,7 @@
"uiACL": "UI Access Control", "uiACL": "UI Access Control",
"metaOperations": "Metadata Operations", "metaOperations": "Metadata Operations",
"audit": "Audit", "audit": "Audit",
"auditLogs": "Audit Log", "auditLogs": "Audit Logs",
"sqlMigrations": "SQL Migrations", "sqlMigrations": "SQL Migrations",
"dbCredentials": "Database Credentials", "dbCredentials": "Database Credentials",
"advancedParameters": "SSL & Advanced parameters", "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"> <div class="flex items-center space-x-2">
<component :is="iconMap.audit" class="opacity-80" /> <component :is="iconMap.audit" class="opacity-80" />
<div class="select-none">Audit Logs</div> <div class="select-none">{{ $t('title.auditLogs') }}</div>
</div> </div>
</NcMenuItem> </NcMenuItem>
<NcMenuItem <NcMenuItem

Loading…
Cancel
Save