mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 07:46:37 +00:00
Fix stack size (#5155)
This commit is contained in:
parent
f401aa2897
commit
91edcf9b52
@ -41,7 +41,9 @@ export abstract class HuiStackCard extends LitElement implements LovelaceCard {
|
||||
}
|
||||
}
|
||||
|
||||
public abstract getCardSize(): number;
|
||||
public getCardSize(): number {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public setConfig(config: StackCardConfig): void {
|
||||
if (!config || !config.cards || !Array.isArray(config.cards)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user