« get me outta code hell

content, data: minor fixes caught by full site build - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateRelativeDatetimestamp.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-12-03 18:38:58 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-12-03 18:38:58 -0400
commit9d5f97b2dc5fa7990b7cfc7b8f4aa129981505a5 (patch)
tree77080a8ff8ace97fceea037d69b84d1231c86e85 /src/content/dependencies/generateRelativeDatetimestamp.js
parentd9d2bd7642b1ef398ad2ff5cfb027abaf437e4a3 (diff)
content, data: minor fixes caught by full site build
Diffstat (limited to 'src/content/dependencies/generateRelativeDatetimestamp.js')
-rw-r--r--src/content/dependencies/generateRelativeDatetimestamp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateRelativeDatetimestamp.js b/src/content/dependencies/generateRelativeDatetimestamp.js
index bbe33188..7b7a28de 100644
--- a/src/content/dependencies/generateRelativeDatetimestamp.js
+++ b/src/content/dependencies/generateRelativeDatetimestamp.js
@@ -28,7 +28,7 @@ export default {
   },
 
   generate(data, relations, slots, {language}) {
-    if (data.comparison === 'equal') {
+    if (data.equal) {
       return relations.fallback.slots({
         style: slots.style,
         tooltip: slots.tooltip,