Skip to content

Commit

Permalink
hides relationship arrows on panel
Browse files Browse the repository at this point in the history
Signed-off-by: wadeking98 <wkingnumber2@gmail.com>
  • Loading branch information
wadeking98 committed Jan 18, 2022
1 parent fe48466 commit 6e5ab80
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/components/entity/EntityResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,21 @@
'justify-center': !$vuetify.breakpoint.lgAndUp,
}"
>
<v-btn icon @click="incRelationshipStartIndex(-1)">
<v-btn
:disabled="relationshipStartIndex <= 0"
icon
@click="incRelationshipStartIndex(-1)"
>
<v-icon>{{ mdiChevronLeft }}</v-icon>
</v-btn>
<v-btn icon @click="incRelationshipStartIndex(1)">
<v-btn
:disabled="
relationshipStartIndex + itemsDisplayed >=
businessAsRelationship.length
"
icon
@click="incRelationshipStartIndex(1)"
>
<v-icon>{{ mdiChevronRight }}</v-icon>
</v-btn>
</v-col>
Expand Down

0 comments on commit 6e5ab80

Please sign in to comment.