Better management for entity error icons

This commit is contained in:
Fabio Manganiello 2022-10-14 23:37:36 +02:00
parent 7f575bacaa
commit 5c68365188
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -49,7 +49,7 @@ export default {
},
colorFillStyle() {
return this.colorFill ? {'background': this.colorFill} : {}
return this.colorFill && !this.error ? {'background': this.colorFill} : {}
},
computedIcon() {
@ -95,7 +95,6 @@ export default {
.error {
color: $error-fg;
margin-left: .5em;
}
}
</style>