diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 11:15:17 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 11:15:17 +0900 |
| commit | 3e2441998107d37f9d0f683430c5dedd4c5cd0b5 (patch) | |
| tree | e3233f6d16d53a08bf4e9e301a39a23a8ef4b92f /packages/frontend/src/pages/channels.vue | |
| parent | build-misskey-js-with-types (#16470) (diff) | |
| download | misskey-3e2441998107d37f9d0f683430c5dedd4c5cd0b5.tar.gz misskey-3e2441998107d37f9d0f683430c5dedd4c5cd0b5.tar.bz2 misskey-3e2441998107d37f9d0f683430c5dedd4c5cd0b5.zip | |
refactor
Diffstat (limited to 'packages/frontend/src/pages/channels.vue')
| -rw-r--r-- | packages/frontend/src/pages/channels.vue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/frontend/src/pages/channels.vue b/packages/frontend/src/pages/channels.vue index 324e0c573a..1e7301d06d 100644 --- a/packages/frontend/src/pages/channels.vue +++ b/packages/frontend/src/pages/channels.vue @@ -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: { |