Change label for disabled feature flag

This commit is contained in:
Neil MacDougall 2021-02-25 09:19:58 +00:00
parent b06c11e91e
commit fe29a4ad43
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
export default { export default {
state() { state() {
return this.enabled ? 'active' : 'disabled'; return this.enabled ? 'active' : 'off';
}, },
enabled() { enabled() {

View File

@ -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' },