From 261e8850cef6c199bd2c522890c69ba8cd7d0004 Mon Sep 17 00:00:00 2001
From: Janis Streib <me@janis-streib.de>
Date: Fri, 13 Nov 2020 11:44:29 +0100
Subject: [PATCH] FIX: call correct mutation on trasnactionExecute error
 handling

---
 frontend/src/main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/src/main.js b/frontend/src/main.js
index 482d9a67e..65c999d5f 100644
--- a/frontend/src/main.js
+++ b/frontend/src/main.js
@@ -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
-- 
GitLab