Skip to content

Commit

Permalink
On PB Card interface, edit button only shows if there is a PB to edit
Browse files Browse the repository at this point in the history
  • Loading branch information
big213 committed Apr 11, 2021
1 parent a8bdc15 commit fc0779a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/interface/viewPbCardInterface.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
>mdi-close</v-icon
>
<v-icon
v-if="editable"
v-if="props.item[headerItem.value] && editable"
small
@click.stop="
openEditDialog('edit', props.item[headerItem.value])
Expand Down Expand Up @@ -112,7 +112,7 @@
>mdi-close</v-icon
>
<v-icon
v-if="editable"
v-if="props.item[headerItem.value] && editable"
small
@click.stop="
openEditDialog('edit', props.item[headerItem.value])
Expand Down

0 comments on commit fc0779a

Please sign in to comment.