mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Fix blank_before_percent (#19397)
* Fix blank_before_percent * types n stuff
This commit is contained in:
@@ -136,7 +136,9 @@ export class HaControlNumberButton extends LitElement {
|
||||
this.value != null
|
||||
? formatNumber(this.value, this.locale, this.formatOptions)
|
||||
: "";
|
||||
const unit = this.unit ? `${blankBeforeUnit(this.unit)}${this.unit}` : "";
|
||||
const unit = this.unit
|
||||
? `${blankBeforeUnit(this.unit, this.locale)}${this.unit}`
|
||||
: "";
|
||||
|
||||
return html`
|
||||
<div class="container">
|
||||
|
||||
Reference in New Issue
Block a user