chore(xo-web/backup-ng): use btnStyle (#3798)
This commit is contained in:
parent
83760157ad
commit
9a79088e8a
@ -126,12 +126,12 @@ const SchedulePreviewBody = decorate([
|
||||
)}{' '}
|
||||
{lastRunLog !== undefined && (
|
||||
<ActionButton
|
||||
btnStyle={STATUS_LABELS[lastRunLog.status].className}
|
||||
handler={showTasks}
|
||||
handlerParam={lastRunLog}
|
||||
icon='preview'
|
||||
size='small'
|
||||
tooltip={_('scheduleLastRun')}
|
||||
className={`btn-${STATUS_LABELS[lastRunLog.status].className}`}
|
||||
>
|
||||
<span>{_(STATUS_LABELS[lastRunLog.status].label)}</span>
|
||||
</ActionButton>
|
||||
|
Loading…
Reference in New Issue
Block a user