Fixed challenges on 'Tavern'

This commit is contained in:
Marvin Rabe
2018-05-01 19:53:31 +02:00
parent eaa00598d0
commit 45df73e4be
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
span.mr-1.ml-0
strong(v-once) {{ $t('createdBy') }}:
user-link.mx-1(:user="challenge.leader")
span.mr-1.ml-0(v-if="challenge.group")
span.mr-1.ml-0(v-if="challenge.group && challenge.group.name !== 'Tavern'")
strong(v-once) {{ $t(challenge.group.type) }}:
group-link.mx-1(:group="challenge.group")
// @TODO: make challenge.author a variable inside the createdBy string (helps with RTL languages)

View File

@@ -14,7 +14,7 @@
.owner-item
strong {{ $t('createdBy') }}:
user-link.mx-1(:user="challenge.leader")
.owner-item(v-if="challenge.group")
.owner-item(v-if="challenge.group && challenge.group.name !== 'Tavern'")
strong {{ $t(challenge.group.type) }}:
group-link.mx-1(:group="challenge.group")
.meta