mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-22 07:29:08 +00:00
refactor: change order of operations
This commit is contained in:
committed by
Carlos Valente
parent
38a3165a79
commit
d26a3cd393
@@ -27,12 +27,12 @@ export default function AutomationPanel({ location }: PanelBaseProps) {
|
|||||||
oscPortIn={data.oscPortIn}
|
oscPortIn={data.oscPortIn}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div ref={triggersRef}>
|
|
||||||
<TriggersList triggers={data.triggers} automations={data.automations} />
|
|
||||||
</div>
|
|
||||||
<div ref={automationsRef}>
|
<div ref={automationsRef}>
|
||||||
<AutomationsList automations={data.automations} />
|
<AutomationsList automations={data.automations} />
|
||||||
</div>
|
</div>
|
||||||
|
<div ref={triggersRef}>
|
||||||
|
<TriggersList triggers={data.triggers} automations={data.automations} />
|
||||||
|
</div>
|
||||||
</Panel.Section>
|
</Panel.Section>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ const staticOptions = [
|
|||||||
label: 'Automation',
|
label: 'Automation',
|
||||||
secondary: [
|
secondary: [
|
||||||
{ id: 'automation__settings', label: 'Automation settings' },
|
{ id: 'automation__settings', label: 'Automation settings' },
|
||||||
{ id: 'automation__triggers', label: 'Manage triggers' },
|
|
||||||
{ id: 'automation__automations', label: 'Manage automations' },
|
{ id: 'automation__automations', label: 'Manage automations' },
|
||||||
|
{ id: 'automation__triggers', label: 'Manage triggers' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user