mirror of https://github.com/rancher/dashboard.git
Change label for disabled feature flag
This commit is contained in:
parent
b06c11e91e
commit
fe29a4ad43
|
|
@ -1,7 +1,7 @@
|
||||||
export default {
|
export default {
|
||||||
|
|
||||||
state() {
|
state() {
|
||||||
return this.enabled ? 'active' : 'disabled';
|
return this.enabled ? 'active' : 'off';
|
||||||
},
|
},
|
||||||
|
|
||||||
enabled() {
|
enabled() {
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ const REMAP_STATE = {
|
||||||
gitupdating: 'Git Updating',
|
gitupdating: 'Git Updating',
|
||||||
errapplied: 'Err Applied',
|
errapplied: 'Err Applied',
|
||||||
waitcheckin: 'Wait Check-In',
|
waitcheckin: 'Wait Check-In',
|
||||||
|
off: 'Disabled',
|
||||||
};
|
};
|
||||||
|
|
||||||
const DEFAULT_COLOR = 'warning';
|
const DEFAULT_COLOR = 'warning';
|
||||||
|
|
@ -108,6 +109,7 @@ export const STATES = {
|
||||||
notApplicable: { color: 'warning', icon: 'tag' },
|
notApplicable: { color: 'warning', icon: 'tag' },
|
||||||
notapplied: { color: 'warning', icon: 'tag' },
|
notapplied: { color: 'warning', icon: 'tag' },
|
||||||
notready: { color: 'warning', icon: 'tag' },
|
notready: { color: 'warning', icon: 'tag' },
|
||||||
|
off: { color: 'darker', icon: 'error' },
|
||||||
orphaned: { color: 'warning', icon: 'tag' },
|
orphaned: { color: 'warning', icon: 'tag' },
|
||||||
other: { color: 'info', icon: 'info' },
|
other: { color: 'info', icon: 'info' },
|
||||||
outofsync: { color: 'warning', icon: 'tag' },
|
outofsync: { color: 'warning', icon: 'tag' },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue