fix: add unlink tumblr modal

This commit is contained in:
Sam 2023-04-18 22:44:37 +02:00
parent 716c1283e7
commit e6c7954a88
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 22 additions and 0 deletions

View File

@ -221,5 +221,27 @@
<Button color="secondary" on:click={toggleDiscordUnlinkModal}>Cancel</Button> <Button color="secondary" on:click={toggleDiscordUnlinkModal}>Cancel</Button>
</ModalFooter> </ModalFooter>
</Modal> </Modal>
<Modal
header="Unlink Tumblr account"
isOpen={tumblrUnlinkModalOpen}
toggle={toggleTumblrUnlinkModal}
>
<ModalBody>
<p>
Are you sure you want to unlink your Tumblr account? You will no longer be able to use it
to log in.
</p>
{#if error}
<div class="mt-2">
<ErrorAlert {error} />
</div>
{/if}
</ModalBody>
<ModalFooter>
<Button color="danger" on:click={tumblrUnlink}>Unlink account</Button>
<Button color="secondary" on:click={toggleTumblrUnlinkModal}>Cancel</Button>
</ModalFooter>
</Modal>
</div> </div>
</div> </div>