diff --git a/src/client/app/common/views/filters/user.ts b/src/client/app/common/views/filters/user.ts
index 167bb7758a..c5bb39f674 100644
--- a/src/client/app/common/views/filters/user.ts
+++ b/src/client/app/common/views/filters/user.ts
@@ -10,6 +10,6 @@ Vue.filter('userName', user => {
return getUserName(user);
});
-Vue.filter('userPage', user => {
- return '/@' + Vue.filter('acct')(user);
+Vue.filter('userPage', (user, path?) => {
+ return '/@' + Vue.filter('acct')(user) + (path ? '/' + path : '');
});
diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts
index f57d42aa6f..b3152e708b 100644
--- a/src/client/app/desktop/script.ts
+++ b/src/client/app/desktop/script.ts
@@ -57,7 +57,7 @@ init(async (launch) => {
{ path: '/othello', component: MkOthello },
{ path: '/othello/:game', component: MkOthello },
{ path: '/@:user', component: MkUser },
- { path: '/@:user/:note', component: MkNote }
+ { path: '/notes/:note', component: MkNote }
]
});
diff --git a/src/client/app/mobile/script.ts b/src/client/app/mobile/script.ts
index 6265d0d45f..1de4891973 100644
--- a/src/client/app/mobile/script.ts
+++ b/src/client/app/mobile/script.ts
@@ -68,7 +68,7 @@ init((launch) => {
{ path: '/@:user', component: MkUser },
{ path: '/@:user/followers', component: MkFollowers },
{ path: '/@:user/following', component: MkFollowing },
- { path: '/@:user/:note', component: MkNote }
+ { path: '/notes/:note', component: MkNote }
]
});
diff --git a/src/client/app/mobile/views/pages/user.vue b/src/client/app/mobile/views/pages/user.vue
index f650f8aa82..d30fae7ba1 100644
--- a/src/client/app/mobile/views/pages/user.vue
+++ b/src/client/app/mobile/views/pages/user.vue
@@ -30,11 +30,11 @@
{{ user.notesCount | number }}
%i18n:mobile.tags.mk-user.notes%
-
+
{{ user.followingCount | number }}
%i18n:mobile.tags.mk-user.following%
-
+
{{ user.followersCount | number }}
%i18n:mobile.tags.mk-user.followers%