mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Do not show domain if equal to title with different casing (#9870)
This commit is contained in:
parent
bd8f436c1d
commit
de23b2d046
@ -34,7 +34,10 @@ export class HaIntegrationHeader extends LitElement {
|
|||||||
|
|
||||||
if (this.label) {
|
if (this.label) {
|
||||||
primary = this.label;
|
primary = this.label;
|
||||||
secondary = primary === domainName ? undefined : domainName;
|
secondary =
|
||||||
|
primary.toLowerCase() === domainName.toLowerCase()
|
||||||
|
? undefined
|
||||||
|
: domainName;
|
||||||
} else {
|
} else {
|
||||||
primary = domainName;
|
primary = domainName;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user