summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/channel-editor.vue
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2025-07-30 12:30:35 +0900
committerGitHub <noreply@github.com>2025-07-30 12:30:35 +0900
commit4f653f2fbc9f48f2d3069dd587907ebee667386c (patch)
tree7a01cec63c94f56c5da8af3da9356ce74c265def /packages/frontend/src/pages/channel-editor.vue
parentperf(frontend): draw-blurhash workerの結果をpostMessageする際にImageB... (diff)
downloadmisskey-4f653f2fbc9f48f2d3069dd587907ebee667386c.tar.gz
misskey-4f653f2fbc9f48f2d3069dd587907ebee667386c.tar.bz2
misskey-4f653f2fbc9f48f2d3069dd587907ebee667386c.zip
enhance(frontend): typed nirax (#16309)
* enhance(frontend): typed nirax * migrate router.replace * fix
Diffstat (limited to 'packages/frontend/src/pages/channel-editor.vue')
-rw-r--r--packages/frontend/src/pages/channel-editor.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/frontend/src/pages/channel-editor.vue b/packages/frontend/src/pages/channel-editor.vue
index 72281ea882..80dfb8e84e 100644
--- a/packages/frontend/src/pages/channel-editor.vue
+++ b/packages/frontend/src/pages/channel-editor.vue
@@ -165,7 +165,11 @@ function save() {
os.apiWithDialog('channels/update', params);
} else {
os.apiWithDialog('channels/create', params).then(created => {
- router.push(`/channels/${created.id}`);
+ router.push('/channels/:channelId', {
+ params: {
+ channelId: created.id,
+ },
+ });
});
}
}