mirror of https://github.com/rancher/ui.git
Merge pull request #3642 from codyrancher/colors
Make special case for the 'running' state color
This commit is contained in:
commit
abc39cda27
|
|
@ -4,7 +4,7 @@ import moment from 'moment';
|
|||
import { downloadFile } from 'shared/utils/download-files';
|
||||
import ObjectsToCsv from 'objects-to-csv';
|
||||
|
||||
export default Resource.extend({
|
||||
const ClusterScan = Resource.extend({
|
||||
type: 'clusterScan',
|
||||
report: 'null',
|
||||
reportPromise: null,
|
||||
|
|
@ -143,3 +143,7 @@ export default Resource.extend({
|
|||
},
|
||||
|
||||
});
|
||||
|
||||
ClusterScan.reopenClass({ stateMap: { 'running': { color: 'text-info' } } });
|
||||
|
||||
export default ClusterScan;
|
||||
|
|
@ -174,7 +174,7 @@ const defaultStateMap = {
|
|||
},
|
||||
'running': {
|
||||
icon: 'icon icon-circle-o',
|
||||
color: 'text-info'
|
||||
color: 'text-success'
|
||||
},
|
||||
'starting': {
|
||||
icon: 'icon icon-adjust',
|
||||
|
|
|
|||
Loading…
Reference in New Issue