mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 04:39:54 -05:00
various fixes and improvements
This commit is contained in:
@@ -207,7 +207,6 @@ export function useModelEditorFunctions<T>(modelName: EditorSupportedModels, emi
|
||||
|
||||
return modelClass.value.destroy(editingObj.value.id).then((r: any) => {
|
||||
emit('delete', editingObj.value)
|
||||
console.log('deleted')
|
||||
editingObj.value = {} as T
|
||||
}).catch((err: any) => {
|
||||
useMessageStore().addError(ErrorMessageType.DELETE_ERROR, err)
|
||||
|
||||
Reference in New Issue
Block a user