mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-27 22:24:42 +02:00
refactor
This commit is contained in:
@@ -110,6 +110,11 @@ async function search() {
|
||||
|
||||
const type = searchType.value.toString().trim();
|
||||
|
||||
if (type !== 'nameAndDescription' && type !== 'nameOnly') {
|
||||
console.error(`Unrecognized search type: ${type}`);
|
||||
return;
|
||||
}
|
||||
|
||||
channelPaginator.value = markRaw(new Paginator('channels/search', {
|
||||
limit: 10,
|
||||
params: {
|
||||
|
||||
Reference in New Issue
Block a user