next #180
@ -143,13 +143,23 @@
|
||||
deleteTracks = deleteTracks.filter((tr) => {
|
||||
tr.id !== t.id;
|
||||
});
|
||||
tracksstore.set($tracksstore.filter((tr)=>tr.id !== t.id))
|
||||
tracksstore.set(
|
||||
$tracksstore.filter((tr) => tr.id !== t.id)
|
||||
);
|
||||
toast($_("runner-deleted"));
|
||||
}}
|
||||
class="ml-4 text-red-600 hover:text-red-900 cursor-pointer"
|
||||
>{$_("confirm-delete")}</button
|
||||
>
|
||||
{:else}
|
||||
<button
|
||||
tabindex="0"
|
||||
on:click={() => {
|
||||
console.log("TODO:");
|
||||
}}
|
||||
class="ml-4 text-indigo-600 hover:text-indigo-900 cursor-pointer"
|
||||
>{$_("edit")}</button
|
||||
>
|
||||
<button
|
||||
tabindex="0"
|
||||
on:click={() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user