Fix problems caused by previous fix
This commit is contained in:
1 parent
fdc397e544
commit
c2e870a2d8
2 files changed
+5
-1
No files matched your search
@@ -94,6 +94,10 @@ class LayoutCard extends LitElement {
|
||||
place_cards(width) {
|
||||
if(this._config.layout === "grid")
|
||||
return;
|
||||
if(width !== undefined)
|
||||
this.lastWidth = width;
|
||||
else
|
||||
width = this.lastWidth;
|
||||
this.columns = buildLayout(
|
||||
this.cards,
|
||||
width || 1,
|
||||
|
||||
Reference in new issue
Block a user