mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-07 23:39:09 +00:00
refactor: migrate triggers to new service
This commit is contained in:
committed by
Carlos Valente
parent
6c4d80158c
commit
1f71d4578c
@@ -17,6 +17,13 @@ export function getAutomationSettings(): AutomationSettings {
|
||||
return structuredClone(getDataProvider().getAutomation());
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the enabled status of the automations
|
||||
*/
|
||||
export function getAutomationsEnabled(): boolean {
|
||||
return getAutomationSettings().enabledAutomations;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a copy of the stored automations
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user