mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 21:37:21 +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) {
|
||||
primary = this.label;
|
||||
secondary = primary === domainName ? undefined : domainName;
|
||||
secondary =
|
||||
primary.toLowerCase() === domainName.toLowerCase()
|
||||
? undefined
|
||||
: domainName;
|
||||
} else {
|
||||
primary = domainName;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user