Skip to content

Commit

Permalink
Merge pull request #1660 from dodona-edu/uncomment-pagination-clusters
Browse files Browse the repository at this point in the history
Uncomment pagination for clusters
  • Loading branch information
rien authored Mar 3, 2025
2 parents a4c4461 + 8c7cc0b commit 10ba337
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/clustering/ClustersTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</span>
</template>

<!-- Temporary hack to hide pagination when disabled -->
<!-- Hide the pagination buttons if pagination is disabled -->
<template v-if="!pagination" #bottom>
<div />
</template>
Expand All @@ -53,7 +53,7 @@ interface Props {
pagination?: boolean;
}
const props = withDefaults(defineProps<Props>(), {});
const props = withDefaults(defineProps<Props>(), { pagination: true });
const router = useRouter();
const pairStore = usePairStore();
Expand Down
1 change: 1 addition & 0 deletions web/src/views/analysis/overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
<clusters-table
:clusters="clustersOverview"
:limit="10"
:pagination="false"
concise
disable-sorting
/>
Expand Down

0 comments on commit 10ba337

Please sign in to comment.