« 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/things/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/index.js')
-rw-r--r--src/data/things/index.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/data/things/index.js b/src/data/things/index.js
index 41301575..676453ce 100644
--- a/src/data/things/index.js
+++ b/src/data/things/index.js
@@ -181,10 +181,10 @@ function evaluatePropertyDescriptors() {
         }
       }
 
-      constructor[CacheableObject.propertyDescriptors] = {
-        ...constructor[CacheableObject.propertyDescriptors] ?? {},
-        ...results,
-      };
+      constructor[CacheableObject.propertyDescriptors] =
+        Object.create(constructor[CacheableObject.propertyDescriptors] ?? null);
+
+      Object.assign(constructor[CacheableObject.propertyDescriptors], results);
     },
 
     showFailedClasses(failedClasses) {