diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-13 19:44:23 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-13 19:44:23 +0900 |
| commit | 44073736debda0210b77a53d0f61a68783d28e7c (patch) | |
| tree | 1a680a24e3bf60c50d44372dbc7fdb34dd24b17e /packages/frontend/src/components | |
| parent | enhance(frontend): re-organize settings page (diff) | |
| download | sharkey-44073736debda0210b77a53d0f61a68783d28e7c.tar.gz sharkey-44073736debda0210b77a53d0f61a68783d28e7c.tar.bz2 sharkey-44073736debda0210b77a53d0f61a68783d28e7c.zip | |
enhance(frontend): improve preferences
Diffstat (limited to 'packages/frontend/src/components')
| -rw-r--r-- | packages/frontend/src/components/MkFollowButton.vue | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkFollowButton.vue b/packages/frontend/src/components/MkFollowButton.vue index 3d5d0ec5ab..a063854520 100644 --- a/packages/frontend/src/components/MkFollowButton.vue +++ b/packages/frontend/src/components/MkFollowButton.vue @@ -45,7 +45,6 @@ import { i18n } from '@/i18n.js'; import { claimAchievement } from '@/utility/achievements.js'; import { pleaseLogin } from '@/utility/please-login.js'; import { $i } from '@/account.js'; -import { store } from '@/store.js'; import { prefer } from '@/preferences.js'; const props = withDefaults(defineProps<{ @@ -121,11 +120,11 @@ async function onClick() { } else { await misskeyApi('following/create', { userId: props.user.id, - withReplies: store.s.defaultWithReplies, + withReplies: prefer.s.defaultFollowWithReplies, }); emit('update:user', { ...props.user, - withReplies: store.s.defaultWithReplies, + withReplies: prefer.s.defaultFollowWithReplies, }); hasPendingFollowRequestFromYou.value = true; |