|
|
|
@ -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); |
|
|
|
|
} |
|
|
|
|