Skip to content

Commit

Permalink
fix: Hide all buttons for locked craftsman
Browse files Browse the repository at this point in the history
  • Loading branch information
famoser committed Nov 19, 2024
1 parent 5a41017 commit b191988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/vue/components/View/IssueResolveCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<br/>
<span v-if="isOverdue" class="badge bg-danger">{{ $t('issue.state.overdue') }}</span>
</p>
<div class="row g-2">
<div class="row g-2" v-if="craftsman.canEdit" >
<div :class="{'col-auto': addedIssueEvents.length === 0, 'col-12': addedIssueEvents.length > 0}">
<add-issue-event-button
v-if="!issue.resolvedAt"
Expand All @@ -46,7 +46,7 @@
</div>
</div>
<div class="col-auto">
<resolve-issue-button v-if="craftsman.canEdit" :issue="issue" :craftsman="craftsman"/>
<resolve-issue-button :issue="issue" :craftsman="craftsman"/>
</div>
</div>
</div>
Expand Down

0 comments on commit b191988

Please sign in to comment.