mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
feat: Cookbook Create & Delete Improvements (#2902)
* add delete dialog
* put editor into component
* return data on createCookbook store action
* verry basic dialog with create & cancel functions
* 🧹
* cleanup
* add translation
* add dialog-closed to BaseDialog
* update delete dialog messaging
* use cancel instead of dialog-closed
This commit is contained in:
parent
292672601c
commit
67b7fb007b
5 changed files with 187 additions and 79 deletions
|
@ -109,6 +109,7 @@ export const useCookbooks = function () {
|
|||
}
|
||||
|
||||
loading.value = false;
|
||||
return data;
|
||||
},
|
||||
async updateOne(updateData: UpdateCookBook) {
|
||||
if (!updateData.id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue