diff options
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 |
commit | a434abad9684831d142aa543b0cb8d46600b4f39 (patch) | |
tree | c39f89c7a4e2b42538df260ef0099189cce6121d /src/util | |
parent | c5b42b7883025bb3464b52248567133cd0658959 (diff) |
fix art tag content warnings
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/serialize.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/serialize.js b/src/util/serialize.js index 7b0f890f..e30951f6 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), |