Skip to content

Commit

Permalink
Disallow merging posts in tree topic
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Dec 2, 2024
1 parent 55377cc commit 907f6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/forum/post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ export default {
if (!post.deleted_at) {
items.push({title: 'Zgłoś', iconName: 'postReport', action: this.flagPost});
}
if (post.permissions.merge) {
if (post.permissions.merge && this.is_mode_linear) {
items.push({title: 'Połącz z poprzednim', iconName: 'postMergeWithPrevious', action: this.merge, disabled: post.deleted_at || post.id === topic.first_post_id});
}
if (post.permissions.adm_access) {
Expand Down

0 comments on commit 907f6f8

Please sign in to comment.