« get me outta code hell

content: generateFlashActSidebar: gog help thee - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-03 14:05:45 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-04-03 14:05:45 -0300
commit2d3a59502de2e6b7c19c3159be065f540b5cceeb (patch)
tree62d2f21b8a9ff080c12ec6188a22f83cedfb81ef /src/content
parent27e67da7b6f31b6d6da52a7ad09a0da1acc06e03 (diff)
content: generateFlashActSidebar: gog help thee
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateFlashActSidebar.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/content/dependencies/generateFlashActSidebar.js b/src/content/dependencies/generateFlashActSidebar.js
index f7733d53..674d9ff9 100644
--- a/src/content/dependencies/generateFlashActSidebar.js
+++ b/src/content/dependencies/generateFlashActSidebar.js
@@ -4,8 +4,6 @@ export default {
   contentDependencies: ['linkFlash', 'linkFlashAct', 'linkFlashIndex'],
   extraDependencies: ['getColors', 'html', 'language', 'wikiData'],
 
-  // So help me Gog, the flash sidebar is heavily hard-coded.
-
   sprawl: ({flashActData, flashSideData}) => ({flashActData, flashSideData}),
 
   query(sprawl, act, flash) {
@@ -37,9 +35,7 @@ export default {
       currentSideActs.indexOf(act);
 
     const fallbackListTerminology =
-      (currentSideIndex <= 1
-        ? 'flashesInThisAct'
-        : 'entriesInThisSection');
+      'entriesInThisSection';
 
     return {
       sideNames,