Skip to content

Commit 1b1f744

Browse files
committed
addressed rabbit
1 parent c3968ad commit 1b1f744

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/columns

src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/columns/encryptCheckbox.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
id?: string;
2727
} = $props();
2828
29-
const organizationId = page.data?.organization?.$id ?? page.data?.project?.$id;
30-
const supportsEncryption = isCloud ? $currentPlan?.databasesAllowEncrypt : true;
29+
const organizationId = page.data?.organization?.$id ?? page.data?.project?.teamId;
30+
const supportsEncryption = $derived(isCloud ? $currentPlan?.databasesAllowEncrypt : true);
3131
</script>
3232

3333
<Tooltip disabled={!(editing || disabled)} maxWidth="275px" placement="bottom-start">

0 commit comments

Comments
 (0)