Added track update toasts
This commit is contained in:
parent
2856c5c1b7
commit
103ad57ddc
@ -179,6 +179,7 @@
|
||||
<button
|
||||
tabindex="0"
|
||||
on:click={async () => {
|
||||
toast.loading($_("track-is-being-updated"));
|
||||
const i = editTracks.findIndex(
|
||||
(tr) => tr.id === t.id
|
||||
);
|
||||
@ -193,6 +194,8 @@
|
||||
editTracks = editTracks.filter((tr) => {
|
||||
tr.id !== t.id;
|
||||
});
|
||||
toast.dismiss();
|
||||
toast.success($_("track-updated"));
|
||||
}}
|
||||
class="ml-4 text-green-600 hover:text-green-900 cursor-pointer"
|
||||
>{$_("save")}</button
|
||||
|
1012
src/locales/de.json
1012
src/locales/de.json
File diff suppressed because it is too large
Load Diff
1012
src/locales/en.json
1012
src/locales/en.json
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user