Skip to content

Commit e8223ff

Browse files
fix: hide dpa on selfhosted
1 parent dd27d1f commit e8223ff

File tree

1 file changed

+4
-1
lines changed
  • src/routes/console/organization-[organization]/settings

1 file changed

+4
-1
lines changed

src/routes/console/organization-[organization]/settings/+page.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import Delete from './deleteOrganizationModal.svelte';
1212
import DownloadDPA from './downloadDPA.svelte';
1313
import { Submit, trackEvent, trackError } from '$lib/actions/analytics';
14+
import { isCloud } from '$lib/system';
1415
1516
export let data;
1617
let name: string;
@@ -64,7 +65,9 @@
6465
</CardGrid>
6566
</Form>
6667

67-
<DownloadDPA />
68+
{#if isCloud}
69+
<DownloadDPA />
70+
{/if}
6871

6972
<CardGrid danger>
7073
<div>

0 commit comments

Comments
 (0)