fix: dynamic app count in search placeholder

This commit is contained in:
2026-08-04 00:37:19 +01:00
parent f972ee49cc
commit 639b2ef8b2
2 changed files with 2 additions and 1 deletions

View File

@@ -70,7 +70,7 @@
<section class="step" id="step-apps"> <section class="step" id="step-apps">
<h2>2. Select Apps</h2> <h2>2. Select Apps</h2>
<div class="search-bar"> <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>
<div class="presets-bar"> <div class="presets-bar">
<span class="presets-label">Quick stacks:</span> <span class="presets-label">Quick stacks:</span>

View File

@@ -487,6 +487,7 @@ function initWizard() {
// Search // Search
function initSearch() { function initSearch() {
const input = document.getElementById('app-search'); const input = document.getElementById('app-search');
input.placeholder = `🔍 Search ${apps.length} apps...`;
input.addEventListener('input', (e) => { input.addEventListener('input', (e) => {
state.searchQuery = e.target.value; state.searchQuery = e.target.value;
renderAppGrid(); renderAppGrid();