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') return setMessage(form, 'Custom Domain Enabled')
}, },
disable_custom_domain: async (event) => { disable_custom_domain: async (event) => {
return { message: 'Disabling custom domain is unavailable' }
const userId = event.locals.user.id const userId = event.locals.user.id
const existingProject = await db.query.project.findFirst({ const existingProject = await db.query.project.findFirst({

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

Loading…
Cancel
Save