Fall back to display_name for disconnect confirmation when username is null (Telegram)
This commit is contained in:
parent
b9cc12aef7
commit
f194bde58d
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ const handleToggle = (accountId: string) => {
|
|||
const handleDisconnect = (account: SocialAccount) => {
|
||||
deleteModal.value?.open({
|
||||
url: disconnectAccount.url(account.id),
|
||||
confirmText: account.username,
|
||||
confirmText: account.username || account.display_name,
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue