Skip to content

Commit a621920

Browse files
authored
Merge pull request #2171 from appwrite/fix-erratic-check-fail
2 parents 08bffbb + 5f84384 commit a621920

File tree

1 file changed

+2
-2
lines changed
  • src/routes/(console)/project-[region]-[project]/databases/database-[database]

1 file changed

+2
-2
lines changed

src/routes/(console)/project-[region]-[project]/databases/database-[database]/+layout.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
group: 'databases',
6262
icon: IconPlus,
6363
rank: page.url.pathname.endsWith('backups') ? 10 : 0,
64-
disabled: !isCloud || !$currentPlan.backupsEnabled
64+
disabled: !isCloud || !$currentPlan?.backupsEnabled
6565
},
6666
{
6767
label: 'Create manual backup',
@@ -77,7 +77,7 @@
7777
group: 'databases',
7878
icon: IconPlus,
7979
rank: page.url.pathname.endsWith('backups') ? 10 : 0,
80-
disabled: !isCloud || !$currentPlan.backupsEnabled
80+
disabled: !isCloud || !$currentPlan?.backupsEnabled
8181
},
8282
{
8383
label: 'Go to collections',

0 commit comments

Comments
 (0)