feat(web): add add-member empty-state hint in chat info
Some checks are pending
CI / test (push) Has started running

This commit is contained in:
2026-03-08 22:38:51 +03:00
parent 15c7b7ac43
commit 2dc04f565f
2 changed files with 6 additions and 1 deletions

View File

@@ -712,6 +712,11 @@ export function ChatInfoPanel({ chatId, open, onClose }: Props) {
</div>
</button>
))}
{searchQuery.trim().replace("@", "").length >= 2 && searchResults.length === 0 ? (
<p className="px-1 py-1 text-xs text-slate-400">
No users available to add (already in chat or banned).
</p>
) : null}
</div>
</div>
) : null}