mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
no pin post button for posts in group
This commit is contained in:
parent
af19e31178
commit
b672b62e0d
@ -80,7 +80,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isAdmin) {
|
if (this.isAdmin && !this.resource.group) {
|
||||||
if (!this.resource.pinnedBy) {
|
if (!this.resource.pinnedBy) {
|
||||||
routes.push({
|
routes.push({
|
||||||
label: this.$t(`post.menu.pin`),
|
label: this.$t(`post.menu.pin`),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user