Browse Source

fix(nc-gui): hide pagination for only 1 page

pull/7566/head
Ramesh Mane 10 months ago
parent
commit
4711e77f97
  1. 2
      packages/nc-gui/components/nc/Pagination.vue

2
packages/nc-gui/components/nc/Pagination.vue

@ -56,7 +56,7 @@ const pagesList = computed(() => {
</script> </script>
<template> <template>
<div class="nc-pagination flex flex-row items-center gap-x-2"> <div v-if="totalPages > 1" class="nc-pagination flex flex-row items-center gap-x-2">
<component :is="props.firstPageTooltip && mode === 'full' ? NcTooltip : 'div'" v-if="mode === 'full'"> <component :is="props.firstPageTooltip && mode === 'full' ? NcTooltip : 'div'" v-if="mode === 'full'">
<template v-if="props.firstPageTooltip" #title> <template v-if="props.firstPageTooltip" #title>
{{ props.firstPageTooltip }} {{ props.firstPageTooltip }}

Loading…
Cancel
Save