mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-23 06:49:37 +02:00
add transportation
This commit is contained in:
parent
6155d531ab
commit
54ef1677e8
2 changed files with 67 additions and 22 deletions
|
@ -55,11 +55,11 @@
|
|||
|
||||
transportationToEdit = result;
|
||||
|
||||
addToast('success', 'Adventure edited successfully!');
|
||||
addToast('success', 'Transportation edited successfully!');
|
||||
dispatch('saveEdit', transportationToEdit);
|
||||
close();
|
||||
} else {
|
||||
addToast('error', 'Error editing adventure');
|
||||
addToast('error', 'Error editing transportaion');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue