mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Fix requests firing before user is logged in
This commit is contained in:
1 parent
8912785ad9
commit
da932f918a
3 files changed
+9
-7
No files matched your search
@@ -267,6 +267,11 @@
|
||||
|
||||
async function initialize() {
|
||||
ensureApiClient();
|
||||
|
||||
// Wait for login
|
||||
if (window.userHelper?.waitForLogin) {
|
||||
await window.userHelper.waitForLogin();
|
||||
}
|
||||
|
||||
if (__libraries) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user