Trim whitespace

This commit is contained in:
Paulus Schoutsen 2018-10-18 15:40:37 +02:00 committed by GitHub
parent 33578a6289
commit dce612f944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ export class HuiGlanceCard extends HassLocalizeLitMixin(LitElement)
};
}
public getCardSize() {
public getCardSize() {
return (this.config!.title ? 1 : 0) + Math.ceil(this.configEntities!.length / 5);
}