mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
fix: Confirm follow prompt showing up when cancelling follow request
This commit is contained in:
parent
424c71248c
commit
19fc0a9351
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ async function onClick() {
|
|||
userId: props.user.id,
|
||||
});
|
||||
} else {
|
||||
if (defaultStore.state.alwaysConfirmFollow) {
|
||||
if (defaultStore.state.alwaysConfirmFollow && !hasPendingFollowRequestFromYou.value) {
|
||||
const { canceled } = await os.confirm({
|
||||
type: 'question',
|
||||
text: i18n.tsx.followConfirm({ name: props.user.name || props.user.username }),
|
||||
|
|
Loading…
Add table
Reference in a new issue