Load favorite location on startup v0.4.3
This commit is contained in:
1 parent
e250a83b6d
commit
0541790dba
5 files changed
+17
-5
No files matched your search
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user