From 486865a794125bf702851b72d9cf0feb55c33f16 Mon Sep 17 00:00:00 2001 From: John Hauck Date: Mon, 18 Nov 2024 12:52:56 -0700 Subject: [PATCH] remove deprecated clearSelectionFilter --- src/components/layer-table/layer-table.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layer-table/layer-table.tsx b/src/components/layer-table/layer-table.tsx index 883458369..3d4d0ee1c 100644 --- a/src/components/layer-table/layer-table.tsx +++ b/src/components/layer-table/layer-table.tsx @@ -2055,7 +2055,7 @@ export class LayerTable { try { this._loaded = true; this._table.highlightIds.removeAll(); - this._table.clearSelectionFilter(); + (this._table as any).objectIds.removeAll(); this._resetColumnTemplates(); this._showOnlySelected = false; await this._handleDefaults(); @@ -2402,7 +2402,7 @@ export class LayerTable { if (this._showOnlySelected) { this._table.filterBySelection(); } else { - this._table.clearSelectionFilter(); + (this._table as any).objectIds.removeAll(); } }