Load favorite location on startup v0.4.3

This commit is contained in:
dmo committed 2026-07-23 09:57:52 +02:00
1 parent e250a83b6d
commit 0541790dba
5 files changed
+17 -5

No files matched your search

+4
View File
@@ -983,6 +983,10 @@ async function initialise() {
}
} catch {}
// Favorite locations are server-side shared data and must be loaded on every page start,
// independently of whether the user opens a photo folder in this browser session.
await loadFavoriteLocations();
if (!isSupported()) {
setSaveStatus('failed', 'Browser folder access unavailable', 'Use a current Chromium browser over HTTPS.');
for (const button of elements.openButtons) button.title = 'Requires a Chromium browser and HTTPS';