« get me outta code hell

update old wikiInfo.features.X style accesses - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/tag.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-02-16 22:31:36 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-02-16 22:31:36 -0400
commitebfd6037093b7bb28418b3f56b888df2f95692a3 (patch)
treeb274813359a45b0a2d06d4481176348107bd1330 /src/page/tag.js
parentb3695dbb8cfdd819a82c6d0eed32b5f94a0c1e51 (diff)
update old wikiInfo.features.X style accesses
Diffstat (limited to 'src/page/tag.js')
-rw-r--r--src/page/tag.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/page/tag.js b/src/page/tag.js
index 791c713..60b8d21 100644
--- a/src/page/tag.js
+++ b/src/page/tag.js
@@ -7,7 +7,7 @@ import fixWS from 'fix-whitespace';
 // Page exports
 
 export function condition({wikiData}) {
-    return wikiData.wikiInfo.features.artTagUI;
+    return wikiData.wikiInfo.enableArtTagUI;
 }
 
 export function targets({wikiData}) {
@@ -89,7 +89,7 @@ function generateTagNav(tag, {
     return {
         links: [
             {toHome: true},
-            wikiData.wikiInfo.features.listings &&
+            wikiData.wikiInfo.enableListings &&
             {
                 path: ['localized.listingIndex'],
                 title: strings('listingIndex.title')