mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 15:53:50 +02:00
keep alive prev instance dialog
This commit is contained in:
@@ -28,8 +28,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { DialogHeader, DialogTitle } from '@/components/ui/dialog';
|
||||
defineOptions({ name: 'PreviousInstancesUserDialog' });
|
||||
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import { DialogHeader, DialogTitle } from '@/components/ui/dialog';
|
||||
import { InputGroupField } from '@/components/ui/input-group';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
@@ -57,7 +59,6 @@
|
||||
const modalStore = useModalStore();
|
||||
const loading = ref(false);
|
||||
const rawRows = ref([]);
|
||||
const search = ref('');
|
||||
const pageSizes = [10, 25, 50, 100];
|
||||
const pageSize = ref(10);
|
||||
const tableStyle = { maxHeight: '400px' };
|
||||
@@ -70,6 +71,7 @@
|
||||
const { stringComparer } = storeToRefs(useSearchStore());
|
||||
const vrcxStore = useVrcxStore();
|
||||
const { t } = useI18n();
|
||||
const search = ref('');
|
||||
|
||||
const displayRows = computed(() => {
|
||||
const q = String(search.value ?? '')
|
||||
@@ -105,6 +107,9 @@
|
||||
initialPagination: {
|
||||
pageIndex: 0,
|
||||
pageSize: pageSize.value
|
||||
},
|
||||
tableOptions: {
|
||||
autoResetPageIndex: false
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user