Commit 261e8850 authored by Janis Streib's avatar Janis Streib 🦉

FIX: call correct mutation on trasnactionExecute error handling

parent 37728d9b
Pipeline #117903 passed with stages
in 5 minutes and 3 seconds
......@@ -234,7 +234,7 @@ async function init() {
commit('setUndoRedoNewMutation', true)
} catch (e) {
window.console.debug(e.response)
commit('set_transaction_result', {
commit('setTransactionResult', {
type: 'error',
error: 'exception' in e.response.data ? e.response.data.exception : e.response.data,
uuid: 'exception' in e.response.data ? state.ta_list[APIUtil.getAPIErrorIndexFromDBException(e.response.data.exception)].uuid : null
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment