From 834fb3bebd2f69c28cb67918f11006fca1fdd7db Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 30 Sep 2021 22:45:20 +0900 Subject: [PATCH] =?UTF-8?q?fix(client):=20=E3=83=A6=E3=83=BC=E3=82=B6?= =?UTF-8?q?=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AE=E3=82=BF=E3=83=96?= =?UTF-8?q?=E3=81=8C=E6=A9=9F=E8=83=BD=E3=81=97=E3=81=A6=E3=81=84=E3=81=AA?= =?UTF-8?q?=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #7853 --- CHANGELOG.md | 1 + src/client/pages/user/index.vue | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bbc09860..db271cdd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ - admin inbox queue does not show individual jobs - クライアント: ヘッダーのタブが折り返される問題を修正 - クライアント: ヘッダーにタブが表示されている状態でタイトルをクリックしたときにタブ選択が表示されるのを修正 +- クライアント: ユーザーページのタブが機能していない問題を修正 ## 12.91.0 (2021/09/22) diff --git a/src/client/pages/user/index.vue b/src/client/pages/user/index.vue index 86dc7361b..458ce4b61 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,