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