data(*): Add final data changes

This commit is contained in:
Josh Creek
2026-01-17 23:30:40 +00:00
parent 479b3ae7a0
commit 46351c9af0
29 changed files with 12187 additions and 122 deletions
+10 -3
View File
@@ -15,7 +15,8 @@
isShinyDex: false,
isOriginDex: false,
isFormDex: false,
gameScope: null
gameScope: null,
dexScopes: []
};
$: mode = editingPokedex ? ('edit' as const) : ('create' as const);
@@ -55,7 +56,8 @@
isShinyDex: false,
isOriginDex: false,
isFormDex: false,
gameScope: null
gameScope: null,
dexScopes: []
};
showModal = true;
}
@@ -199,6 +201,11 @@
</h3>
<PokedexForm bind:pokedex={formData} {mode} onSubmit={handleSubmit} onCancel={closeModal} />
</div>
<div class="modal-backdrop" on:click={closeModal}></div>
<button
type="button"
class="modal-backdrop"
aria-label="Close modal"
on:click={closeModal}
></button>
</div>
{/if}