Skip to content

Commit 1fe3dce

Browse files
authored
Merge pull request #38 from janog-netcon/fix-audience-ui
ゲスト用にUIを一部修正した
2 parents ec3a6f5 + 766afb7 commit 1fe3dce

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

ui/components/misc/Navigation.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ export default {
127127
return [
128128
{ to: '/', text: 'トップ' },
129129
{ to: '/problems', text: '問題' },
130-
{ to: '/issues', text: '質問' },
131-
{ to: '/answers', text: '解答', if: this.isNotPlayer },
132-
{ to: '/summary', text: '状況', if: this.isNotPlayer },
130+
{ to: '/issues', text: '質問', if: this.isNotAudience },
131+
{ to: '/answers', text: '解答', if: this.isStaff },
132+
{ to: '/summary', text: '状況', if: this.isStaff },
133133
{ to: '/guide', text: 'ガイド' },
134134
{ to: '/teams', text: 'ユーザ' },
135135
{ to: '/settings', icon: 'mdi-cog-outline', if: this.isStaff },

ui/components/problems/id/DetailsPanel.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
:problem="problem"
3030
:environments="problem.environments"
3131
class="py-2"
32+
v-if="isNotAudience"
3233
/>
3334

3435
<!-- 補足 -->

ui/pages/problems/_id.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<v-col cols="6" class="py-0">
1111
<!-- ユーザ名&セレクタ -->
1212
<v-overflow-btn
13-
v-if="isNotPlayer"
13+
v-if="isStaff"
1414
v-model="selectedTeamId"
1515
:loading="teamFetching"
1616
:items="teams"

0 commit comments

Comments
 (0)