mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
toggle shouts tab depending on user setting
This commit is contained in:
parent
3cf3c31808
commit
34239631a2
@ -27,6 +27,7 @@ export default i18n => {
|
|||||||
id
|
id
|
||||||
url
|
url
|
||||||
}
|
}
|
||||||
|
showShoutsPublicly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
@ -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">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user