« get me outta code hell

data: CacheableObject: record dependants properly - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-11-27 17:51:54 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-11-27 17:51:54 -0400
commit0bfedac2a7478c81fc2ba76e85489086c6fdab17 (patch)
tree0c3ac38cb68ddb55752f91960a4801fb785ef310
parent458e7bc34fb5c313f45bb3be00877fed0c276678 (diff)
data: CacheableObject: record dependants properly preview
yes
-rw-r--r--src/data/cacheable-object.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/cacheable-object.js b/src/data/cacheable-object.js
index dead009a..9c655823 100644
--- a/src/data/cacheable-object.js
+++ b/src/data/cacheable-object.js
@@ -148,9 +148,9 @@ export default class CacheableObject {
 
         for (const dependency of dependenciesOf(property, propertyDescriptors)) {
           if (dependantsMap[dependency]) {
-            dependantsMap[dependency].push(dependency);
+            dependantsMap[dependency].push(property);
           } else {
-            dependantsMap[dependency] = [dependency];
+            dependantsMap[dependency] = [property];
           }
         }
       }