temporarily disabling disable custom domain until shortener code conflict when disabling is implemented

main
TZGyn 1 year ago
parent 56764e4aa6
commit 8d74c44b1f
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -251,6 +251,7 @@ export const actions: Actions = {
return setMessage(form, 'Custom Domain Enabled')
},
disable_custom_domain: async (event) => {
return { message: 'Disabling custom domain is unavailable' }
const userId = event.locals.user.id
const existingProject = await db.query.project.findFirst({

@ -221,7 +221,7 @@
</Dialog.Content>
</Dialog.Root>
{:else}
<AlertDialog.Root>
<!-- <AlertDialog.Root>
<AlertDialog.Trigger asChild let:builder>
<Button builders={[builder]}>
Disable Custom Domain
@ -252,7 +252,7 @@
</AlertDialog.Action>
</AlertDialog.Footer>
</AlertDialog.Content>
</AlertDialog.Root>
</AlertDialog.Root> -->
{/if}
</div>
</div>

Loading…
Cancel
Save