This commit is contained in:
parent
8499bcbe19
commit
f71f341aad
|
@ -99,10 +99,15 @@ const detailsColumns = ref([
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
const STATE_COLOR = {
|
||||||
|
pending: 'positive',
|
||||||
|
|
||||||
|
managed: 'warning',
|
||||||
|
|
||||||
|
resolved: 'negative',
|
||||||
|
};
|
||||||
function stateColor(code) {
|
function stateColor(code) {
|
||||||
if (code === 'pending') return 'green';
|
return STATE_COLOR[code];
|
||||||
if (code === 'managed') return 'orange';
|
|
||||||
if (code === 'resolved') return 'red';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const developmentColumns = ref([
|
const developmentColumns = ref([
|
||||||
|
|
Loading…
Reference in New Issue