toggle shouts tab depending on user setting

This commit is contained in:
Alina Beck 2019-11-13 11:44:24 +03:00
parent 3cf3c31808
commit 34239631a2
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ export default i18n => {
id id
url url
} }
showShoutsPublicly
} }
} }
` `

View File

@ -197,7 +197,7 @@
<li <li
class="Tabs__tab pointer" class="Tabs__tab pointer"
:class="{ active: tabActive === 'shout' }" :class="{ active: tabActive === 'shout' }"
v-if="myProfile" v-if="myProfile || user.showShoutsPublicly"
> >
<a @click="handleTab('shout')"> <a @click="handleTab('shout')">
<ds-space margin="small"> <ds-space margin="small">