summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/script.ts
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2019-08-29 14:57:28 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-08-29 14:57:28 +0900
commit97f23af86d0be6f24bd21eb04a7bec3f4a525719 (patch)
treeafb7afc597370d76bcaf8223e58b1e373d0ff40c /src/client/app/desktop/script.ts
parent不要なプロパティをレスポンスから削除 (diff)
downloadmisskey-97f23af86d0be6f24bd21eb04a7bec3f4a525719.tar.gz
misskey-97f23af86d0be6f24bd21eb04a7bec3f4a525719.tar.bz2
misskey-97f23af86d0be6f24bd21eb04a7bec3f4a525719.zip
Assign URL to each page of settings (#5349)
* Assign URL to each page of settings * Use router-link * comma * Use active-class * Clean up * space * comma * Redirect if mobile * Redirect to /i/settings/profile * Clean up
Diffstat (limited to 'src/client/app/desktop/script.ts')
-rw-r--r--src/client/app/desktop/script.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts
index f77a00ae6b..15365e9d5d 100644
--- a/src/client/app/desktop/script.ts
+++ b/src/client/app/desktop/script.ts
@@ -185,7 +185,8 @@ init(async (launch, os) => {
{ path: '/i/messaging/:user', component: MkMessagingRoom },
{ path: '/i/drive', component: MkDrive },
{ path: '/i/drive/folder/:folder', component: MkDrive },
- { path: '/i/settings', component: MkSettings },
+ { path: '/i/settings', redirect: '/i/settings/profile' },
+ { path: '/i/settings/:page', component: MkSettings },
{ path: '/selectdrive', component: MkSelectDrive },
{ path: '/@:acct/room', props: true, component: () => import('../common/views/pages/room/room.vue').then(m => m.default) },
{ path: '/share', component: MkShare },