mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-22 08:14:07 +02:00
fix(frontend): ログインダイアログが表示されたあとの処理がおかしくなる問題を修正 (#17038)
* fix(frontend): ログインダイアログが表示されたあとの処理がおかしくなる問題を修正 * Update Changelog
This commit is contained in:
@@ -48,8 +48,8 @@ export async function pleaseLogin(opts: {
|
||||
path?: string;
|
||||
message?: string;
|
||||
openOnRemote?: OpenOnRemoteOptions;
|
||||
} = {}) {
|
||||
if ($i) return;
|
||||
} = {}): Promise<boolean> {
|
||||
if ($i != null) return true;
|
||||
|
||||
let _openOnRemote: OpenOnRemoteOptions | undefined = undefined;
|
||||
|
||||
@@ -71,5 +71,5 @@ export async function pleaseLogin(opts: {
|
||||
closed: () => dispose(),
|
||||
});
|
||||
|
||||
throw new Error('signin required');
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user