diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2025-06-24 23:04:37 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2025-06-24 23:04:37 -0500 |
| commit | 1b1987f28df0eaf3f47fc5833e17a803f7ba1b8c (patch) | |
| tree | c031c736008dbb52ec591aa1c1ed1aed85647306 /static/src/albums.js | |
| parent | 4be4fd53b3f71d1da55fc7f4c31640bf6f1c4992 (diff) | |
| download | immich-frame-1b1987f28df0eaf3f47fc5833e17a803f7ba1b8c.tar.xz immich-frame-1b1987f28df0eaf3f47fc5833e17a803f7ba1b8c.zip | |
make frontend work with backend and wait until album response recieved before initializing albums page. extra checks around config
Diffstat (limited to 'static/src/albums.js')
| -rw-r--r-- | static/src/albums.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/static/src/albums.js b/static/src/albums.js index b7523d9..0ac9195 100644 --- a/static/src/albums.js +++ b/static/src/albums.js @@ -69,6 +69,8 @@ class Album { // create albums const albumsResponse = await apiConnector.fetchAlbums() + if (!albumsResponse.length) + return false for (const res of albumsResponse) new Album(res) |
