Don't show 'More…' for hashtag autosuggest

This commit is contained in:
Lim Chee Aun 2024-05-26 18:15:37 +08:00
parent b473061845
commit 34077e8467

View file

@ -1714,7 +1714,9 @@ const Textarea = forwardRef((props, ref) => {
`; `;
} }
}); });
html += `<li role="option" data-value="" data-more="${text}">More…</li>`; if (type === 'accounts') {
html += `<li role="option" data-value="" data-more="${text}">More…</li>`;
}
menu.innerHTML = html; menu.innerHTML = html;
console.log('MENU', results, menu); console.log('MENU', results, menu);
resolve({ resolve({