mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
1 file changed
+5
-2
@@ -16,6 +16,7 @@
|
||||
import { CollectionsPanel } from '$lib/commandCenter/panels';
|
||||
import { canWriteCollections, canWriteDatabases } from '$lib/stores/roles';
|
||||
import { showCreateBackup, showCreatePolicy } from './backups/store';
|
||||
import { currentPlan } from '$lib/stores/organization';
|
||||
|
||||
const project = $page.params.project;
|
||||
const databaseId = $page.params.database;
|
||||
@@ -53,7 +54,8 @@
|
||||
keys: $page.url.pathname.endsWith('backups') ? ['c'] : ['c', 'p'],
|
||||
group: 'databases',
|
||||
icon: 'plus',
|
||||
rank: $page.url.pathname.endsWith('backups') ? 10 : 0
|
||||
rank: $page.url.pathname.endsWith('backups') ? 10 : 0,
|
||||
disabled: !$currentPlan.backupsEnabled
|
||||
},
|
||||
{
|
||||
label: 'Create manual backup',
|
||||
@@ -66,7 +68,8 @@
|
||||
keys: $page.url.pathname.endsWith('backups') ? ['c'] : ['c', 'b'],
|
||||
group: 'databases',
|
||||
icon: 'plus',
|
||||
rank: $page.url.pathname.endsWith('backups') ? 10 : 0
|
||||
rank: $page.url.pathname.endsWith('backups') ? 10 : 0,
|
||||
disabled: !$currentPlan.backupsEnabled
|
||||
},
|
||||
{
|
||||
label: 'Go to collections',
|
||||
|
||||
Reference in new issue
Block a user