Skip to content

Commit

Permalink
Fix regression with exact match
Browse files Browse the repository at this point in the history
  • Loading branch information
sebromero committed Nov 27, 2024
1 parent 41348b8 commit 9ffed5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function renderPackageList(result, searchTerm = '') {
}

packages.forEach(pkg => {
const isExactMatch = pkg.name.toLowerCase() === searchTerm;
const isExactMatch = pkg.name.toLowerCase() === searchTerm.toLowerCase();

const packageItem = document.createElement('li');
packageItem.className = 'package-item';
Expand Down Expand Up @@ -248,7 +248,7 @@ async function installPackage(package) {
const packageDesignator = package.name || package.url;
toggleUserInteraction(false);
showOverlay();
showStatus(`⌛️ Installing ${packageDesignator} on board at ${serialPort}...`, true);
showStatus(`⌛️ Installing '${packageDesignator}' on board at ${serialPort}...`, true);

const compileFiles = compileFilesCheckbox.checked;
const overwriteExisting = overwriteExistingCheckbox.checked;
Expand Down

0 comments on commit 9ffed5b

Please sign in to comment.