mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-08 16:22:46 +01:00
Check input schema (#33)
This commit is contained in:
@@ -40,10 +40,10 @@ export default Vue.extend({
|
||||
return icon;
|
||||
},
|
||||
statusColor: function () {
|
||||
let color = TypeColorEnum.Info;
|
||||
let color = TypeColorEnum.Info as TypeColorEnum;
|
||||
this.lodash.forEach(this.$store.state.settings.artifactStates, (state: Type) => {
|
||||
if (this.artifact.status === state.id && state.color) {
|
||||
color = state.color
|
||||
color = state.color;
|
||||
}
|
||||
})
|
||||
return color;
|
||||
|
||||
Reference in New Issue
Block a user