Skip to content

Commit

Permalink
Merge pull request #14 from PhilETaylor/patch-4
Browse files Browse the repository at this point in the history
remove duplicate search
  • Loading branch information
OzzyCzech committed Jan 3, 2024
2 parents ef2d6df + bb5937d commit c04aa8c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/cmd-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

1 comment on commit c04aa8c

@vercel
Copy link

@vercel vercel bot commented on c04aa8c Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cmd-dialog – ./

cmd-dialog-git-main-ozzyczech.vercel.app
cmd-dialog-ozzyczech.vercel.app
cmd-dialog.vercel.app

Please sign in to comment.