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