fix(client): ユーザーページのタブが機能していない問題を修正

Fix #7853
This commit is contained in:
syuilo 2021-09-30 22:45:20 +09:00
parent 18fa317ee7
commit 834fb3bebd
2 changed files with 5 additions and 3 deletions

View file

@ -19,6 +19,7 @@
- admin inbox queue does not show individual jobs - admin inbox queue does not show individual jobs
- クライアント: ヘッダーのタブが折り返される問題を修正 - クライアント: ヘッダーのタブが折り返される問題を修正
- クライアント: ヘッダーにタブが表示されている状態でタイトルをクリックしたときにタブ選択が表示されるのを修正 - クライアント: ヘッダーにタブが表示されている状態でタイトルをクリックしたときにタブ選択が表示されるのを修正
- クライアント: ユーザーページのタブが機能していない問題を修正
## 12.91.0 (2021/09/22) ## 12.91.0 (2021/09/22)

View file

@ -255,21 +255,22 @@ export default defineComponent({
active: this.page === 'index', active: this.page === 'index',
title: this.$ts.overview, title: this.$ts.overview,
icon: 'fas fa-home', icon: 'fas fa-home',
onClick: () => { this.$router.push('/@' + getAcct(this.user)); },
}, { }, {
active: this.page === 'clips', active: this.page === 'clips',
title: this.$ts.clips, title: this.$ts.clips,
icon: 'fas fa-paperclip', icon: 'fas fa-paperclip',
onClick: () => { this.page = 'clips'; }, onClick: () => { this.$router.push('/@' + getAcct(this.user) + '/clips'); },
}, { }, {
active: this.page === 'pages', active: this.page === 'pages',
title: this.$ts.pages, title: this.$ts.pages,
icon: 'fas fa-file-alt', icon: 'fas fa-file-alt',
onClick: () => { this.page = 'pages'; }, onClick: () => { this.$router.push('/@' + getAcct(this.user) + '/pages'); },
}, { }, {
active: this.page === 'gallery', active: this.page === 'gallery',
title: this.$ts.gallery, title: this.$ts.gallery,
icon: 'fas fa-icons', icon: 'fas fa-icons',
onClick: () => { this.page = 'gallery'; }, onClick: () => { this.$router.push('/@' + getAcct(this.user) + '/gallery'); },
}] }]
} : null), } : null),
user: null, user: null,