|
|
@ -15,7 +15,7 @@ |
|
|
if (automationLive === live) { |
|
|
if (automationLive === live) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
automation.live = live; |
|
|
automation.live = live |
|
|
automationStore.actions.save({ instanceId, automation }) |
|
|
automationStore.actions.save({ instanceId, automation }) |
|
|
if (live) { |
|
|
if (live) { |
|
|
notifications.info(`Automation ${automation.name} enabled.`) |
|
|
notifications.info(`Automation ${automation.name} enabled.`) |
|
|
|