Skip to content

Commit b906d2b

Browse files
committed
Use interface constant not hard-coded string
1 parent c1f8adb commit b906d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Indexer/Block/Backend/Grid/Column/Renderer/ScheduleStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function render(\Magento\Framework\DataObject $row)
7474
$class = 'grid-severity-notice';
7575
}
7676

77-
if ($state->getStatus() !== 'idle') {
77+
if ($state->getStatus() !== $state::STATUS_IDLE) {
7878
$class = 'grid-severity-minor';
7979
}
8080

0 commit comments

Comments
 (0)