Skip to content

Commit

Permalink
Don't render pagination component if there are no files
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh committed Oct 24, 2022
1 parent 9ba847c commit f5b7287
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/views/FileBrowserView/FileBrowser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
</v-col>
</v-row>
<FileBrowserPagination
v-if="currentDandiset.asset_count"
:page="page"
:page-count="pages"
@changePage="page = $event;"
Expand Down

0 comments on commit f5b7287

Please sign in to comment.