chore(xo-web/backup-ng): use btnStyle (#3798)

This commit is contained in:
badrAZ 2018-12-17 15:43:39 +01:00 committed by Pierre Donias
parent 83760157ad
commit 9a79088e8a

View File

@ -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>