mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-13 04:50:29 +00:00
Only show "required" indicator if we have a selector label (#12241)
This commit is contained in:
@@ -53,7 +53,7 @@ class HaLabeledSlider extends PolymerElement {
|
||||
}
|
||||
|
||||
_getTitle() {
|
||||
return `${this.caption}${this.required ? "*" : ""}`;
|
||||
return `${this.caption}${this.caption && this.required ? " *" : ""}`;
|
||||
}
|
||||
|
||||
static get properties() {
|
||||
|
||||
Reference in New Issue
Block a user