Fix stack size (#5155)

This commit is contained in:
Bram Kragten 2020-03-12 20:10:45 +01:00 committed by GitHub
parent f401aa2897
commit 91edcf9b52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {