Admin: Added filter / search panel to nodes list.
This commit is contained in:
parent
ac7f8c98b0
commit
f95829adc6
13 changed files with 568 additions and 45 deletions
frontend/src/components
|
@ -17,7 +17,6 @@ const props = defineProps({
|
|||
});
|
||||
|
||||
const firstItem = computed(() => {
|
||||
console.log(props.totalItems, props.page, props.itemsPerPage);
|
||||
return Math.min(props.totalItems, (props.page - 1) * props.itemsPerPage + 1)
|
||||
});
|
||||
const lastItem = computed(() => Math.min(props.totalItems, firstItem.value + props.itemsPerPage - 1));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue