mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Fix friends list table size
This commit is contained in:
@@ -153,9 +153,7 @@
|
||||
);
|
||||
|
||||
const totalItems = computed(() => {
|
||||
const length = table.getFilteredRowModel().rows.length;
|
||||
const max = vrcxStore.maxTableSize;
|
||||
return length > max ? max : length;
|
||||
return table.getFilteredRowModel().rows.length;
|
||||
});
|
||||
|
||||
const handlePageSizeChange = (size) => {
|
||||
|
||||
@@ -237,9 +237,7 @@
|
||||
);
|
||||
|
||||
const totalItems = computed(() => {
|
||||
const length = table.getFilteredRowModel().rows.length;
|
||||
const max = vrcxStore.maxTableSize;
|
||||
return length > max ? max : length;
|
||||
return table.getFilteredRowModel().rows.length;
|
||||
});
|
||||
|
||||
const handlePageSizeChange = (size) => {
|
||||
|
||||
@@ -124,10 +124,10 @@
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { InputGroupField } from '@/components/ui/input-group';
|
||||
import { Progress } from '@/components/ui/progress';
|
||||
import { Star } from 'lucide-vue-next';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { toast } from 'vue-sonner';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Star } from 'lucide-vue-next';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
import {
|
||||
@@ -217,9 +217,7 @@
|
||||
});
|
||||
|
||||
const totalItems = computed(() => {
|
||||
const length = table.getFilteredRowModel().rows.length;
|
||||
const max = vrcxStore.maxTableSize;
|
||||
return length > max ? max : length;
|
||||
return table.getFilteredRowModel().rows.length;
|
||||
});
|
||||
|
||||
const handlePageSizeChange = (size) => {
|
||||
|
||||
@@ -191,8 +191,7 @@
|
||||
});
|
||||
|
||||
const totalItems = computed(() => {
|
||||
const length = table.getFilteredRowModel().rows.length;
|
||||
return length;
|
||||
return table.getFilteredRowModel().rows.length;
|
||||
});
|
||||
|
||||
const handlePageSizeChange = (size) => {
|
||||
|
||||
@@ -173,9 +173,7 @@
|
||||
});
|
||||
|
||||
const totalItems = computed(() => {
|
||||
const length = table.getFilteredRowModel().rows.length;
|
||||
const max = vrcxStore.maxTableSize;
|
||||
return length > max && length < max + 51 ? max : length;
|
||||
return table.getFilteredRowModel().rows.length;
|
||||
});
|
||||
|
||||
const handlePageSizeChange = (size) => {
|
||||
|
||||
Reference in New Issue
Block a user