diff --git a/src/core/wrapper/layout/layout.card.js b/src/core/wrapper/layout/layout.card.js index 6a7ebaadc..1dcc0d657 100644 --- a/src/core/wrapper/layout/layout.card.js +++ b/src/core/wrapper/layout/layout.card.js @@ -96,7 +96,7 @@ export class CardLayout extends Layout { _deleteCardByName(cardName) { delete this._children[this._getChildName(cardName)]; - const index = findIndex(this.options.items, (i, item) => item.cardName === cardName); + const index = findIndex(this.options.items, (i, item) => item.cardName == cardName); if (index > -1) { this.options.items.splice(index, 1); }