Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: eslint (#13212)

ecmadao710261b347c7
diff --git a/frontend/src/components/ProjectDatabasesPanel.vue b/frontend/src/components/ProjectDatabasesPanel.vue
index e4bd6df4f4..e3f18b8010 100644
--- a/frontend/src/components/ProjectDatabasesPanel.vue
+++ b/frontend/src/components/ProjectDatabasesPanel.vue
@@ -22,8 +22,8 @@
:databases="selectedDatabases"
/>
<DatabaseV1Table
- mode="PROJECT"
:key="`database-table.${project.name}`"
+ mode="PROJECT"
:database-list="filteredDatabaseList"
:custom-click="true"
@row-click="handleDatabaseClick"
diff --git a/frontend/src/components/Quickstart.vue b/frontend/src/components/Quickstart.vue
index 65b2535142..40bc14430f 100644
--- a/frontend/src/components/Quickstart.vue
+++ b/frontend/src/components/Quickstart.vue
@@ -361,10 +361,14 @@ watchEffect(async () => {
if (
hasWorkspaceLevelProjectPermission(currentUserV1.value, "bb.projects.get")
) {
- await projectStore.getOrFetchProjectByName(
- "projects/101",
- true /* silent */
- );
+ try {
+ await projectStore.getOrFetchProjectByName(
+ "projects/101",
+ true /* silent */
+ );
+ } catch {
+ // nothing
+ }
}
});
</script>
diff --git a/frontend/src/views/InstanceDetail.vue b/frontend/src/views/InstanceDetail.vue
index 6794df7abe..fc1a77bdaa 100644
--- a/frontend/src/views/InstanceDetail.vue
+++ b/frontend/src/views/InstanceDetail.vue
@@ -41,8 +41,8 @@
<div class="space-y-2">
<DatabaseOperations :databases="selectedDatabases" />
<DatabaseV1Table
- mode="INSTANCE"
:key="`database-table.${instanceId}`"
+ mode="INSTANCE"
:show-selection="true"
:database-list="databaseV1List"
:custom-click="true"
diff --git a/frontend/src/views/SettingWorkspaceAuditLog.vue b/frontend/src/views/SettingWorkspaceAuditLog.vue
index d5843358f9..313711cb78 100644
--- a/frontend/src/views/SettingWorkspaceAuditLog.vue
+++ b/frontend/src/views/SettingWorkspaceAuditLog.vue
@@ -23,11 +23,11 @@
:page-size="10"
>
<template #table="{ list }">
- <AuditLogDataTable :audit-log-list="list" key="audit-log-table" />
+ <AuditLogDataTable key="audit-log-table" :audit-log-list="list" />
</template>
</PagedAuditLogTable>
<template v-else>
- <AuditLogDataTable :audit-log-list="[]" key="audit-log-table" />
+ <AuditLogDataTable key="audit-log-table" :audit-log-list="[]" />
</template>
</div>
</template>
diff --git a/frontend/src/views/project/ProjectAuditLogDashboard.vue b/frontend/src/views/project/ProjectAuditLogDashboard.vue
index c7d90df04c..2b661402a6 100644
--- a/frontend/src/views/project/ProjectAuditLogDashboard.vue
+++ b/frontend/src/views/project/ProjectAuditLogDashboard.vue
@@ -28,17 +28,17 @@
>
<template #table="{ list }">
<AuditLogDataTable
+ :key="`audit-log-table.${projectId}`"
:audit-log-list="list"
:show-project="false"
- :key="`audit-log-table.${projectId}`"
/>
</template>
</PagedAuditLogTable>
<template v-else>
<AuditLogDataTable
+ :key="`audit-log-table.${projectId}`"
:audit-log-list="[]"
:show-project="false"
- :key="`audit-log-table.${projectId}`"
/>
</template>
</div>