mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-06 16:07:48 +00:00
Restore hui-iframe-card.ts
This commit is contained in:
parent
f5d3237b06
commit
3d0f492d62
@ -40,7 +40,7 @@ export class HuiIframeCard extends LitElement implements LovelaceCard {
|
|||||||
|
|
||||||
public getCardSize(): number {
|
public getCardSize(): number {
|
||||||
if (!this._config) {
|
if (!this._config) {
|
||||||
return 5;
|
return 3;
|
||||||
}
|
}
|
||||||
const aspectRatio = this._config.aspect_ratio
|
const aspectRatio = this._config.aspect_ratio
|
||||||
? Number(this._config.aspect_ratio.replace("%", ""))
|
? Number(this._config.aspect_ratio.replace("%", ""))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user