v1.0.22
This commit is contained in:
1 parent
aefa5e7925
commit
b55e1e5aad
107 files changed
+2193
-443
No files matched your search
@@ -82,9 +82,6 @@
|
||||
// Check auth status
|
||||
authStore.check();
|
||||
|
||||
// Check What's New popup
|
||||
checkWhatsNew();
|
||||
|
||||
return () => {
|
||||
disconnectSSE();
|
||||
};
|
||||
@@ -113,6 +110,15 @@
|
||||
localStorage.setItem('dockhand-whats-new-version', currentVersion);
|
||||
}
|
||||
}
|
||||
|
||||
// Show What's New only after auth resolves — avoids leaking version info on login page (#717)
|
||||
let whatsNewChecked = false;
|
||||
$effect(() => {
|
||||
if (!whatsNewChecked && !$authStore.loading && (!$authStore.authEnabled || $authStore.authenticated)) {
|
||||
whatsNewChecked = true;
|
||||
checkWhatsNew();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
Reference in new issue
Block a user