« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/cacheable-object.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/cacheable-object.js b/src/data/cacheable-object.js
index 5e26c5f2..4a89b774 100644
--- a/src/data/cacheable-object.js
+++ b/src/data/cacheable-object.js
@@ -132,7 +132,7 @@ export default class CacheableObject {
         return;
       }
 
-      if (update?.default) {
+      if ('default' in update) {
         this[property] = update?.default;
       } else {
         this[property] = null;