Skip to content

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

chore: add release guard to pitr restore button (#1597)

Liu Ji8b38366c8da5
diff --git a/frontend/src/components/DatabaseBackupPanel.vue b/frontend/src/components/DatabaseBackupPanel.vue
index 307ca5e810..c031d2c021 100644
--- a/frontend/src/components/DatabaseBackupPanel.vue
+++ b/frontend/src/components/DatabaseBackupPanel.vue
@@ -101,7 +101,7 @@
<div class="flex-1 flex items-center justify-end">
<PITRRestoreButton
- v-if="allowAdmin"
+ v-if="isDev && allowAdmin"
:database="database"
:allow-admin="allowAdmin"
/>