Skip to content

Commit

Permalink
fix data bug
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed May 15, 2024
1 parent 9569d94 commit 83948e1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/routes/(admin)/admin/edit/views/LockerEdit.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
let showModal = false;
let data;
function launchEdit(id) {
data = id;
let number;
function launchEdit(data) {
number = data;
showModal = true;
}
Expand Down Expand Up @@ -108,7 +110,7 @@

<div class="locker-edit">
<div class="modal-cont">
<Modal bind:showModal/>
<Modal bind:showModal data={number}/>
</div>
{#if showData}
<Grid
Expand Down

0 comments on commit 83948e1

Please sign in to comment.