« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/static/js/search-worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js
index 98f9c894..8909b640 100644
--- a/src/static/js/search-worker.js
+++ b/src/static/js/search-worker.js
@@ -161,7 +161,7 @@ async function main() {
       ? Object.keys(indexData)
           .filter(key =>
             indexData[key].md5 !==
-            idbIndexData[key].md5)
+            idbIndexData[key]?.md5)
       : Object.keys(indexData));
 
   const keysFromCache =