fix: dynamic app count in search placeholder
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<section class="step" id="step-apps">
|
||||
<h2>2. Select Apps</h2>
|
||||
<div class="search-bar">
|
||||
<input type="text" id="app-search" placeholder="🔍 Search 186 apps..." />
|
||||
<input type="text" id="app-search" placeholder="🔍 Search apps..." />
|
||||
</div>
|
||||
<div class="presets-bar">
|
||||
<span class="presets-label">Quick stacks:</span>
|
||||
|
||||
@@ -487,6 +487,7 @@ function initWizard() {
|
||||
// Search
|
||||
function initSearch() {
|
||||
const input = document.getElementById('app-search');
|
||||
input.placeholder = `🔍 Search ${apps.length} apps...`;
|
||||
input.addEventListener('input', (e) => {
|
||||
state.searchQuery = e.target.value;
|
||||
renderAppGrid();
|
||||
|
||||
Reference in New Issue
Block a user