From d4d652e758ca56b8c337b9ebfa136d83c29e9b9c Mon Sep 17 00:00:00 2001 From: maalni Date: Wed, 5 Jun 2024 10:32:50 +0200 Subject: [PATCH 1/2] chore: update char and weapon keys (#248) --- src/lib/types/keys/CharacterKey.ts | 3 +++ src/lib/types/keys/WeaponKey.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/lib/types/keys/CharacterKey.ts b/src/lib/types/keys/CharacterKey.ts index 2536ff18..cc2f634e 100644 --- a/src/lib/types/keys/CharacterKey.ts +++ b/src/lib/types/keys/CharacterKey.ts @@ -14,6 +14,7 @@ export const characterKeyList = [ 'Chevreuse', 'Chiori', 'Chongyun', + 'Clorinde', 'Collei', 'Cyno', 'Dehya', @@ -58,8 +59,10 @@ export const characterKeyList = [ 'Rosaria', // Rosaria 'SangonomiyaKokomi', // Sangonomiya Kokomi 'Sayu', // Sayu + 'Sethos', 'Shenhe', // Shenhe 'ShikanoinHeizou', // Shikanoin Heizou + 'Sigewinne', 'Sucrose', // Sucrose 'Tartaglia', // Tartaglia 'Thoma', // Thoma diff --git a/src/lib/types/keys/WeaponKey.ts b/src/lib/types/keys/WeaponKey.ts index d43cc6e4..03adc507 100644 --- a/src/lib/types/keys/WeaponKey.ts +++ b/src/lib/types/keys/WeaponKey.ts @@ -1,5 +1,6 @@ const weaponKeyList = [ 'Unknown3Star', + 'Absolution', 'AThousandFloatingDreams', 'Akuoumaru', 'AlleyHunter', @@ -21,6 +22,7 @@ const weaponKeyList = [ 'BloodtaintedGreatsword', 'CalamityQueller', 'CashflowSupervision', + 'Cloudforged', 'CinnabarSpindle', 'CompoundBow', 'CoolSteel', @@ -127,6 +129,7 @@ const weaponKeyList = [ 'SeasonedHuntersBow', 'SerpentSpine', 'SharpshootersOath', + 'SilvershowerHeartstrings', 'SilverSword', 'SkyriderGreatsword', 'SkyriderSword', From 91b14cfd1b0ecec1cb10b4996847cb6e58f3f043 Mon Sep 17 00:00:00 2001 From: maalni Date: Wed, 5 Jun 2024 10:47:28 +0200 Subject: [PATCH 2/2] fix: build char page based on index instead of type array (#249) * fix: build char page based on index instead of type array * chore: remove unnecessary button --- src/routes/characters/+page.svelte | 43 +++++++++++------------------- 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/src/routes/characters/+page.svelte b/src/routes/characters/+page.svelte index 813a7f3e..b979adb8 100644 --- a/src/routes/characters/+page.svelte +++ b/src/routes/characters/+page.svelte @@ -1,25 +1,20 @@ @@ -56,7 +44,6 @@ {$i18n.t('action.sort_by')} {$i18n.t('action.filter_by')} -
{#each charData as character}