mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-08 04:54:32 +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,
|
userId: props.user.id,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (defaultStore.state.alwaysConfirmFollow) {
|
if (defaultStore.state.alwaysConfirmFollow && !hasPendingFollowRequestFromYou.value) {
|
||||||
const { canceled } = await os.confirm({
|
const { canceled } = await os.confirm({
|
||||||
type: 'question',
|
type: 'question',
|
||||||
text: i18n.tsx.followConfirm({ name: props.user.name || props.user.username }),
|
text: i18n.tsx.followConfirm({ name: props.user.name || props.user.username }),
|
||||||
|
|
Loading…
Add table
Reference in a new issue