Compare commits
No commits in common. "0265a59b8222861749d826307c49a3d4f6748d97" and "d8110580e9a33cfb0c6e9cbdce630262d5b5d4c1" have entirely different histories.
0265a59b82
...
d8110580e9
@ -1,7 +1,7 @@
|
||||
<script>
|
||||
import { _ } from "svelte-i18n";
|
||||
import { clickOutside } from "../base/outsideclick";
|
||||
import { createEventDispatcher, onMount } from "svelte";
|
||||
import { createEventDispatcher } from "svelte";
|
||||
export let modal_open;
|
||||
export let delete_runner = {
|
||||
id: 0,
|
||||
@ -9,7 +9,8 @@
|
||||
lastname: "",
|
||||
};
|
||||
const dispatch = createEventDispatcher();
|
||||
onMount(() => {
|
||||
|
||||
(() => {
|
||||
document.onkeydown = (e) => {
|
||||
e = e || window.event;
|
||||
if (e.key === "Escape") {
|
||||
@ -22,7 +23,7 @@
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
})();
|
||||
async function submit() {
|
||||
dispatch("delete", { id: delete_runner.id });
|
||||
modal_open=false;
|
||||
|
@ -215,7 +215,6 @@
|
||||
<th class="cursor-pointer">
|
||||
{#if !header.isPlaceholder}
|
||||
<button
|
||||
class="w-full"
|
||||
tabindex="0"
|
||||
on:click={header.column.getToggleSortingHandler()}
|
||||
>
|
||||
@ -245,7 +244,7 @@
|
||||
header.column.setFilterValue(e.target.value);
|
||||
}}
|
||||
type="text"
|
||||
class="block w-full rounded-md border-gray-200 py-2 pl-8 text-xs focus:border-blue-500 focus:ring-blue-500"
|
||||
class="block rounded-md border-gray-200 py-2 pl-8 text-xs focus:border-blue-500 focus:ring-blue-500"
|
||||
placeholder=""
|
||||
/>
|
||||
<div
|
||||
|
Loading…
x
Reference in New Issue
Block a user