mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Use en "–" and em "—" dashes consistently (#11401)
This commit is contained in:
@@ -147,7 +147,7 @@ export class HaStateLabelBadge extends LitElement {
|
||||
default:
|
||||
return entityState.state === UNKNOWN ||
|
||||
entityState.state === UNAVAILABLE
|
||||
? "-"
|
||||
? "—"
|
||||
: isNumericState(entityState)
|
||||
? formatNumber(entityState.state, this.hass!.locale)
|
||||
: computeStateDisplay(
|
||||
|
||||
Reference in New Issue
Block a user