From 24086e482e67cd4ad9011776a225e8e784f26b74 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 3 Apr 2024 13:37:41 -0300 Subject: content: generateFlashIndexPage: work "jump" links off of sides --- src/content/dependencies/generateFlashIndexPage.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content') diff --git a/src/content/dependencies/generateFlashIndexPage.js b/src/content/dependencies/generateFlashIndexPage.js index 57072a1f..36bfabae 100644 --- a/src/content/dependencies/generateFlashIndexPage.js +++ b/src/content/dependencies/generateFlashIndexPage.js @@ -20,7 +20,7 @@ export default { const jumpActs = flashActs - .filter(act => act.jump); + .filter(act => act.side.acts.indexOf(act) === 0); return {flashActs, jumpActs}; }, @@ -31,7 +31,7 @@ export default { jumpLinkColorStyles: query.jumpActs - .map(act => relation('generateColorStyleAttribute', act.jumpColor)), + .map(act => relation('generateColorStyleAttribute', act.side.color)), actColorStyles: query.flashActs @@ -63,7 +63,7 @@ export default { jumpLinkLabels: query.jumpActs - .map(act => act.jump), + .map(act => act.side.name), actAnchors: query.flashActs -- cgit 1.3.0-6-gf8a5