1
0
Fork 0
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:
Kuchenpirat 2024-02-04 17:15:25 +01:00 committed by GitHub
parent 292672601c
commit 67b7fb007b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 187 additions and 79 deletions

View file

@ -109,6 +109,7 @@ export const useCookbooks = function () {
}
loading.value = false;
return data;
},
async updateOne(updateData: UpdateCookBook) {
if (!updateData.id) {