Skip to content

Commit

Permalink
MappingBrowser go to page: Adjustment to when button is shown (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Sep 27, 2022
1 parent bd6c325 commit 6a845ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/MappingBrowserTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
@change="$emit('pageChange', { registry: section.registry, page: $event, userInitiated: true })" />
<div class="mappingBrowser-pagination-number fontSize-small">
<a
v-if="section.totalCount >= 1000"
v-if="section.lastPage > 4"
:id="`mappingBrowser-pagination-goToPage-${section.id}`"
v-b-tooltip.hover.left="{ title: $t('mappingBrowser.goToPageTooltip'), delay: defaults.delay.medium }"
href=""
Expand Down Expand Up @@ -379,7 +379,7 @@
@hide="annotationPopoverShown = false" />
<!-- Go to page popovers -->
<b-popover
v-for="section in sections.filter(s => s.totalCount >= 1000)"
v-for="section in sections.filter(s => s.lastPage > 4)"
:key="section.randomId"
:show.sync="popoverShown[`goToPage-${section.id}`]"
:target="`mappingBrowser-pagination-goToPage-${section.id}`"
Expand Down

0 comments on commit 6a845ec

Please sign in to comment.