fix: Automation Bugs and minor enhancements (#3936)

This commit is contained in:
Fayaz Ahmed 2022-02-15 23:36:29 +05:30 committed by GitHub
parent e345a4486d
commit 5ad6db07b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 203 additions and 129 deletions

View file

@ -48,7 +48,7 @@ export const actions = {
commit(types.SET_AUTOMATION_UI_FLAG, { isUpdating: true });
try {
const response = await AutomationAPI.update(id, updateObj);
commit(types.EDIT_AUTOMATION, response.data);
commit(types.EDIT_AUTOMATION, response.data.payload);
} catch (error) {
throw new Error(error);
} finally {