Device Cards: bool value formatting (#29135)

This commit is contained in:
Michael Geers 2026-04-15 14:47:09 +02:00 • committed by GitHub
parent 81b78db887
commit 4c7b04c270
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 "";