From 74d0317580af8add1db83ca5e75f3dffea6068f1 Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Sat, 26 Mar 2022 11:47:10 -0400 Subject: [PATCH] weapon print --- .../Output/Print/Weapons/Beam/index.svelte | 6 +++--- .../components/Output/Print/Weapons/index.svelte | 2 +- src/lib/components/Output/Print/index.svelte | 15 +++++++++------ 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/lib/components/Output/Print/Weapons/Beam/index.svelte b/src/lib/components/Output/Print/Weapons/Beam/index.svelte index 899a8bd..b42a6ec 100644 --- a/src/lib/components/Output/Print/Weapons/Beam/index.svelte +++ b/src/lib/components/Output/Print/Weapons/Beam/index.svelte @@ -1,14 +1,14 @@
- {weapon_class} + {weaponClass}
diff --git a/src/lib/components/Output/Print/Weapons/index.svelte b/src/lib/components/Output/Print/Weapons/index.svelte index edb7d6f..307318d 100644 --- a/src/lib/components/Output/Print/Weapons/index.svelte +++ b/src/lib/components/Output/Print/Weapons/index.svelte @@ -11,7 +11,7 @@ export let weapons = []; let beams = []; - $: beams = weapons.filter(({ weapon_type }) => weapon_type === "beam"); + $: beams = weapons.filter(({ type }) => type === "beam");