Close modal on delete and import toastify
This commit is contained in:
parent
3e8dac3203
commit
03b7ada5ef
@ -26,6 +26,7 @@
|
|||||||
})();
|
})();
|
||||||
async function submit() {
|
async function submit() {
|
||||||
dispatch("delete", { id: delete_runner.id });
|
dispatch("delete", { id: delete_runner.id });
|
||||||
|
modal_open=false;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
import TableActions from "../shared/TableActions.svelte";
|
import TableActions from "../shared/TableActions.svelte";
|
||||||
import { groupFilter } from "../shared/tablefilters";
|
import { groupFilter } from "../shared/tablefilters";
|
||||||
import DeleteRunnerModal from "./DeleteRunnerModal.svelte";
|
import DeleteRunnerModal from "./DeleteRunnerModal.svelte";
|
||||||
|
import Toastify from "toastify-js";
|
||||||
|
|
||||||
$: selectedRunners =
|
$: selectedRunners =
|
||||||
$table?.getSelectedRowModel().rows.map((row) => row.original) || [];
|
$table?.getSelectedRowModel().rows.map((row) => row.original) || [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user