Fix problems caused by previous fix
This commit is contained in:
parent
fdc397e544
commit
c2e870a2d8
File diff suppressed because one or more lines are too long
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user