« get me outta code hell

fix art tag content warnings - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-03-05 21:58:58 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-03-05 21:58:58 -0400
commita434abad9684831d142aa543b0cb8d46600b4f39 (patch)
treec39f89c7a4e2b42538df260ef0099189cce6121d /src/util
parentc5b42b7883025bb3464b52248567133cd0658959 (diff)
fix art tag content warnings
Diffstat (limited to 'src/util')
-rw-r--r--src/util/serialize.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/serialize.js b/src/util/serialize.js
index 7b0f890..e30951f 100644
--- a/src/util/serialize.js
+++ b/src/util/serialize.js
@@ -33,8 +33,8 @@ export function serializeCover(thing, pathFunction, {
 
     const { artTags } = thing;
 
-    const cwTags = artTags.filter(tag => tag.isCW);
-    const linkTags = artTags.filter(tag => !tag.isCW);
+    const cwTags = artTags.filter(tag => tag.isContentWarning);
+    const linkTags = artTags.filter(tag => !tag.isContentWarning);
 
     return {
         paths: serializeImagePaths(coverPath),