« get me outta code hell

update 'Group' track sections field to 'Section' - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-03-02 00:02:10 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-03-02 00:02:10 -0400
commitf79805ddcfbc2cec18f8730c58aa4aff1936ea9a (patch)
tree1fc67579ca7eb37721e279996777880d4def47d3 /src/data
parent55b16f303f23e286dfdf33e5d84fe3981f643746 (diff)
update 'Group' track sections field to 'Section'
Diffstat (limited to 'src/data')
-rw-r--r--src/data/yaml.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 7cd23cfc..6b5156ef 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -230,7 +230,7 @@ export const processTrackSectionDocument = makeProcessDocument(T.TrackSectionHel
   },
 
   propertyFieldMapping: {
-    name: 'Group',
+    name: 'Section',
     color: 'Color',
     dateOriginallyReleased: 'Date Originally Released',
   },
@@ -637,7 +637,7 @@ export const dataSteps = [
     documentMode: documentModes.headerAndEntries,
     processHeaderDocument: processAlbumDocument,
     processEntryDocument(document) {
-      return 'Group' in document
+      return 'Section' in document
         ? processTrackSectionDocument(document)
         : processTrackDocument(document);
     },