fix admin dashboard team edit
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { deleteTeam, type Team, teams } from '@app/admin/teams/teams.ts';
|
import {deleteTeam, editTeam, type Team, teams} from '@app/admin/teams/teams.ts';
|
||||||
import DataTable from '@components/admin/table/DataTable.svelte';
|
import DataTable from '@components/admin/table/DataTable.svelte';
|
||||||
import CrudPopup from '@components/admin/popup/CrudPopup.svelte';
|
import CrudPopup from '@components/admin/popup/CrudPopup.svelte';
|
||||||
import { confirmPopupState } from '@components/popup/ConfirmPopup.ts';
|
import { confirmPopupState } from '@components/popup/ConfirmPopup.ts';
|
||||||
@ -82,6 +82,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
]}
|
]}
|
||||||
onSubmit={deleteTeam}
|
onSubmit={editTeam}
|
||||||
bind:open={editPopupOpen}
|
bind:open={editPopupOpen}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user