diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-11-08 16:37:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-11-08 16:37:51 +0900 |
| commit | a6985d7dc7f33864ee4156fe2c3a832b54f4f948 (patch) | |
| tree | 9f03c61b023c89efea7990d3500e492d2c2e783d /src | |
| parent | アスタリスク3つでのtadaアニメーションを復活 (diff) | |
| download | sharkey-a6985d7dc7f33864ee4156fe2c3a832b54f4f948.tar.gz sharkey-a6985d7dc7f33864ee4156fe2c3a832b54f4f948.tar.bz2 sharkey-a6985d7dc7f33864ee4156fe2c3a832b54f4f948.zip | |
Fix #6819
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/router.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/router.ts b/src/client/router.ts index 575aed416d..6b789149cf 100644 --- a/src/client/router.ts +++ b/src/client/router.ts @@ -36,7 +36,7 @@ export const router = createRouter({ { path: '/channels', component: page('channels') }, { path: '/channels/new', component: page('channel-editor') }, { path: '/channels/:channelId/edit', component: page('channel-editor'), props: true }, - { path: '/channels/:channelId', component: page('channel'), props: true }, + { path: '/channels/:channelId', component: page('channel'), props: route => ({ channelId: route.params.channelId }) }, { path: '/my/notifications', component: page('notifications') }, { path: '/my/favorites', component: page('favorites') }, { path: '/my/messages', component: page('messages') }, |