diff --git a/src/lib/features/database/weapons/sections/WeaponGachaSection.svelte b/src/lib/features/database/weapons/sections/WeaponGachaSection.svelte
index dcec2009..3a9351f8 100644
--- a/src/lib/features/database/weapons/sections/WeaponGachaSection.svelte
+++ b/src/lib/features/database/weapons/sections/WeaponGachaSection.svelte
@@ -7,6 +7,7 @@
import MultiSelect from '$lib/components/ui/MultiSelect.svelte'
import CharacterTypeahead from '$lib/components/ui/CharacterTypeahead.svelte'
import { PROMOTION_NAMES, getPromotionNames } from '$lib/types/enums'
+ import { getCharacterImage } from '$lib/utils/images'
interface Props {
weapon: any
@@ -40,56 +41,81 @@
if (!promotions || promotions.length === 0) return '—'
return getPromotionNames(promotions).join(', ')
}
-
- // Format recruits for display
- function formatRecruitsDisplay(recruits: any): string {
- if (!recruits) return '—'
- if (typeof recruits === 'string') return recruits
- return recruits.name?.en || recruits.granblueId || '—'
- }
-
- // Check if we should show the section in view mode
- const hasGachaData = $derived.by(() => {
- if (editMode) return true
- const hasPromotions = weapon?.promotions && weapon.promotions.length > 0
- const hasRecruits = weapon?.recruits
- return hasPromotions || hasRecruits
- })
-{#if hasGachaData}
-
- {#if editMode}
-
-
-
-
-
-
- {:else}
-
+ {#if editMode}
+
+
+
+
+
+
+ {:else}
+
+
{#if weapon.recruits}
-
+
+
+ {weapon.recruits.name?.en}
+
+ {:else}
+ —
{/if}
- {/if}
-
-{/if}
+
+ {/if}
+
+
+
diff --git a/src/lib/features/database/weapons/sections/WeaponMetadataSection.svelte b/src/lib/features/database/weapons/sections/WeaponMetadataSection.svelte
index 1a632e91..c93e1e28 100644
--- a/src/lib/features/database/weapons/sections/WeaponMetadataSection.svelte
+++ b/src/lib/features/database/weapons/sections/WeaponMetadataSection.svelte
@@ -7,7 +7,6 @@
import SuggestionDetailItem from '$lib/components/ui/SuggestionDetailItem.svelte'
import CopyableText from '$lib/components/ui/CopyableText.svelte'
import { getRarityLabel, getRarityOptions } from '$lib/utils/rarity'
- import { getCharacterImage } from '$lib/utils/images'
interface Props {
weapon: any
@@ -35,6 +34,20 @@
{#if editMode}
+
+
{:else}
+
+
{#if weapon.granblueId}
@@ -61,53 +76,7 @@
—
{/if}
- {#if weapon.recruits}
-
-
-
- {weapon.recruits.name.en}
-
-
- {/if}
{/if}
-