Skip to content

Commit

Permalink
Hide 'More results' when reached the end
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramin Haeri Azad committed Oct 27, 2024
1 parent 362227e commit 14c70d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal-ui/src/pages/SearchVariablesPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
</q-item-section>
</q-item>
</q-list>
<div v-if="limit <= itemResults.length" class="q-mt-md">
<div v-if="!!results && itemResults.length < results.totalHits" class="q-mt-md">
<q-btn no-caps icon="add_circle" :label="$t('more_results')" color="primary" size="sm" @click="addLimit" />
</div>
</div>
Expand Down

0 comments on commit 14c70d7

Please sign in to comment.