mirror of https://github.com/Fabio286/antares.git
feat(MySQL): scheduler status indicator in explore bar
This commit is contained in:
parent
39b9a59143
commit
5c668249cf
|
@ -276,7 +276,7 @@ export class MySQLClient extends AntaresCore {
|
||||||
body: scheduler.EVENT_BODY,
|
body: scheduler.EVENT_BODY,
|
||||||
starts: scheduler.STARTS,
|
starts: scheduler.STARTS,
|
||||||
ends: scheduler.ENDS,
|
ends: scheduler.ENDS,
|
||||||
status: scheduler.STATUS,
|
enabled: scheduler.STATUS === 'ENABLED',
|
||||||
executeAt: scheduler.EXECUTE_AT,
|
executeAt: scheduler.EXECUTE_AT,
|
||||||
intervalField: scheduler.INTERVAL_FIELD,
|
intervalField: scheduler.INTERVAL_FIELD,
|
||||||
intervalValue: scheduler.INTERVAL_VALUE,
|
intervalValue: scheduler.INTERVAL_VALUE,
|
||||||
|
|
|
@ -214,6 +214,13 @@
|
||||||
<i class="table-icon mdi mdi-calendar-clock mdi-18px mr-1" />
|
<i class="table-icon mdi mdi-calendar-clock mdi-18px mr-1" />
|
||||||
<span v-html="highlightWord(scheduler.name)" />
|
<span v-html="highlightWord(scheduler.name)" />
|
||||||
</a>
|
</a>
|
||||||
|
<div
|
||||||
|
v-if="scheduler.enabled === false"
|
||||||
|
class="tooltip tooltip-left disabled-indicator"
|
||||||
|
:data-tooltip="$t('word.disabled')"
|
||||||
|
>
|
||||||
|
<i class="table-icon mdi mdi-pause mdi-18px mr-1" />
|
||||||
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue