|
|
|
@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import Icon from 'Components/Icon';
|
|
|
|
|
import VirtualTableRowCell from 'Components/Table/Cells/TableRowCell';
|
|
|
|
|
import { icons } from 'Helpers/Props';
|
|
|
|
|
import { icons, kinds } from 'Helpers/Props';
|
|
|
|
|
import styles from './IndexerStatusCell.css';
|
|
|
|
|
|
|
|
|
|
function IndexerStatusCell(props) {
|
|
|
|
@ -19,10 +19,10 @@ function IndexerStatusCell(props) {
|
|
|
|
|
{...otherProps}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
!enabled &&
|
|
|
|
|
<Icon
|
|
|
|
|
className={styles.statusIcon}
|
|
|
|
|
name={icons.BLACKLIST}
|
|
|
|
|
kind={enabled ? kinds.SUCCESS : kinds.DEFAULT}
|
|
|
|
|
name={enabled ? icons.CHECK : icons.BLACKLIST}
|
|
|
|
|
title={enabled ? 'Indexer is Enabled' : 'Indexer is Disabled'}
|
|
|
|
|
/>
|
|
|
|
|
}
|
|
|
|
|