fix(frontend): ログインダイアログが表示されたあとの処理がおかしくなる問題を修正 (#17038)

* fix(frontend): ログインダイアログが表示されたあとの処理がおかしくなる問題を修正

* Update Changelog
This commit is contained in:
かっこかり
2026-01-02 21:38:53 +09:00
committed by GitHub
parent 443e1ed29e
commit a1ba403f9a
9 changed files with 64 additions and 32 deletions

View File

@@ -81,7 +81,13 @@ function onFollowChange(user: Misskey.entities.UserDetailed) {
}
async function onClick() {
pleaseLogin({ openOnRemote: { type: 'web', path: `/@${props.user.username}@${props.user.host ?? host}` } });
const isLoggedIn = await pleaseLogin({
openOnRemote: {
type: 'web',
path: `/@${props.user.username}@${props.user.host ?? host}`,
},
});
if (!isLoggedIn) return;
wait.value = true;