Device Cards: bool value formatting (#29135)
This commit is contained in:
parent
81b78db887
commit
4c7b04c270
1 changed files with 1 additions and 6 deletions
|
|
@ -181,12 +181,7 @@ export default {
|
|||
if (entry.warning) {
|
||||
return "value--warning";
|
||||
}
|
||||
if (
|
||||
entry.muted ||
|
||||
entry.value === false ||
|
||||
entry.value === null ||
|
||||
entry.value === undefined
|
||||
) {
|
||||
if (entry.muted || entry.value === null || entry.value === undefined) {
|
||||
return "value--muted";
|
||||
}
|
||||
return "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue