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';
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE_NAME = 'photo-date-editor-v4-2';
const CACHE_NAME = 'photo-date-editor-v4-3';
const SHELL = ['/', '/styles.css', '/app.js', '/manifest.webmanifest', '/vendor/leaflet/leaflet.css', '/vendor/leaflet/leaflet.js'];
self.addEventListener('install', (event) => {