From bb5937d8beb7af1b35ab6e99cd3bcac825f399be Mon Sep 17 00:00:00 2001 From: "Phil E. Taylor" Date: Sun, 31 Dec 2023 21:17:50 +0000 Subject: [PATCH] remove duplicate search --- src/cmd-dialog.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/cmd-dialog.ts b/src/cmd-dialog.ts index 74cb6a0..2a4ec28 100644 --- a/src/cmd-dialog.ts +++ b/src/cmd-dialog.ts @@ -197,11 +197,6 @@ export class CmdDialog extends LitElement { override render() { // Search for matches - const results = this.fuse?.search(this._search); - if (results) { - this._results = results.map(item => item.item); - } - if (this._search.length > 0) { const results = this.fuse?.search(this._search); if (results) {