diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2019-08-29 14:57:28 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-08-29 14:57:28 +0900 |
| commit | 97f23af86d0be6f24bd21eb04a7bec3f4a525719 (patch) | |
| tree | afb7afc597370d76bcaf8223e58b1e373d0ff40c /src/client/app/mobile/script.ts | |
| parent | 不要なプロパティをレスポンスから削除 (diff) | |
| download | misskey-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/mobile/script.ts')
| -rw-r--r-- | src/client/app/mobile/script.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/app/mobile/script.ts b/src/client/app/mobile/script.ts index 4500ad8c91..26ef740811 100644 --- a/src/client/app/mobile/script.ts +++ b/src/client/app/mobile/script.ts @@ -140,6 +140,7 @@ init((launch, os) => { ]), { path: '/signup', name: 'signup', component: MkSignup }, { path: '/i/settings', name: 'settings', component: () => import('./views/pages/settings.vue').then(m => m.default) }, + { path: '/i/settings/:page', redirect: '/i/settings' }, { path: '/i/favorites', name: 'favorites', component: UI, props: route => ({ component: () => import('../common/views/pages/favorites.vue').then(m => m.default), platform: 'mobile' }) }, { path: '/i/pages', name: 'pages', component: UI, props: route => ({ component: () => import('../common/views/pages/pages.vue').then(m => m.default) }) }, { path: '/i/lists', name: 'user-lists', component: UI, props: route => ({ component: () => import('../common/views/pages/user-lists.vue').then(m => m.default) }) }, |