diff --git a/dealspace b/dealspace index a5e7829..a87adbc 100755 Binary files a/dealspace and b/dealspace differ diff --git a/portal/templates/app/project.html b/portal/templates/app/project.html index f58b5e6..9a34b2b 100644 --- a/portal/templates/app/project.html +++ b/portal/templates/app/project.html @@ -915,19 +915,18 @@ return (d.name || '').toLowerCase().includes(q.toLowerCase()); }); if (!matches.length) { - // No match — just hide, the typed name will be used as-is on submit - dd.classList.add('hidden'); - return; + dd.innerHTML = `
No match — ${escHtml(q)} will be created as a new org
`; + } else { + dd.innerHTML = matches.map(o => { + const d = parseData(o.data_text); + const name = d.name || 'Unnamed'; + return `
+ ${escHtml(name)} + ${d.role || ''} +
`; + }).join(''); } - dd.innerHTML = matches.map(o => { - const d = parseData(o.data_text); - const name = d.name || 'Unnamed'; - return `
- ${escHtml(name)} - ${d.role || ''} -
`; - }).join(''); dd.classList.remove('hidden'); }, 200); } @@ -972,19 +971,21 @@ container.innerHTML = `
${bubbles}
-
+
- + class="w-full px-3 py-2.5 bg-[#0a1628] border border-white/[0.08] rounded-lg text-white placeholder-[#475569] text-sm focus:outline-none focus:border-[#c9a84c]">
- - - +
+ + + +
`; }