summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-09-30 22:45:20 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-09-30 22:45:20 +0900
commit834fb3bebd2f69c28cb67918f11006fca1fdd7db (patch)
treebb8c1a6daa8122464c504b1b554777a9645cabe1 /src
parentfix bug (diff)
downloadsharkey-834fb3bebd2f69c28cb67918f11006fca1fdd7db.tar.gz
sharkey-834fb3bebd2f69c28cb67918f11006fca1fdd7db.tar.bz2
sharkey-834fb3bebd2f69c28cb67918f11006fca1fdd7db.zip
fix(client): ユーザーページのタブが機能していない問題を修正
Fix #7853
Diffstat (limited to 'src')
-rw-r--r--src/client/pages/user/index.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/pages/user/index.vue b/src/client/pages/user/index.vue
index 86dc7361b5..458ce4b618 100644
--- a/src/client/pages/user/index.vue
+++ b/src/client/pages/user/index.vue
@@ -255,21 +255,22 @@ export default defineComponent({
active: this.page === 'index',
title: this.$ts.overview,
icon: 'fas fa-home',
+ onClick: () => { this.$router.push('/@' + getAcct(this.user)); },
}, {
active: this.page === 'clips',
title: this.$ts.clips,
icon: 'fas fa-paperclip',
- onClick: () => { this.page = 'clips'; },
+ onClick: () => { this.$router.push('/@' + getAcct(this.user) + '/clips'); },
}, {
active: this.page === 'pages',
title: this.$ts.pages,
icon: 'fas fa-file-alt',
- onClick: () => { this.page = 'pages'; },
+ onClick: () => { this.$router.push('/@' + getAcct(this.user) + '/pages'); },
}, {
active: this.page === 'gallery',
title: this.$ts.gallery,
icon: 'fas fa-icons',
- onClick: () => { this.page = 'gallery'; },
+ onClick: () => { this.$router.push('/@' + getAcct(this.user) + '/gallery'); },
}]
} : null),
user: null,