Skip to content
Snippets Groups Projects
Commit 261e8850 authored by Janis Streib's avatar Janis Streib :owl:
Browse files

FIX: call correct mutation on trasnactionExecute error handling

parent 37728d9b
Branches
No related tags found
No related merge requests found
Pipeline #274992 passed with warnings
...@@ -234,7 +234,7 @@ async function init() { ...@@ -234,7 +234,7 @@ async function init() {
commit('setUndoRedoNewMutation', true) commit('setUndoRedoNewMutation', true)
} catch (e) { } catch (e) {
window.console.debug(e.response) window.console.debug(e.response)
commit('set_transaction_result', { commit('setTransactionResult', {
type: 'error', type: 'error',
error: 'exception' in e.response.data ? e.response.data.exception : e.response.data, 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 uuid: 'exception' in e.response.data ? state.ta_list[APIUtil.getAPIErrorIndexFromDBException(e.response.data.exception)].uuid : null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment