wip: rewrite playerlist

This commit is contained in:
pa
2026-01-07 16:20:52 +09:00
committed by Natsumi
parent 9ae8789d14
commit 6cfefb50ab
6 changed files with 641 additions and 346 deletions

View File

@@ -84,23 +84,6 @@ export const useInstanceStore = defineStore('Instance', () => {
const currentInstanceUsersData = ref([]);
const currentInstanceUsersTableProps = reactive({
stripe: true,
size: 'small',
defaultSort: {
prop: 'timer',
order: 'descending'
}
});
const currentInstanceUsersTable = computed(() => {
return {
data: currentInstanceWorld.value.ref.id
? currentInstanceUsersData.value
: [],
tableProps: currentInstanceUsersTableProps
};
});
watch(
() => watchState.isLoggedIn,
(isLoggedIn) => {
@@ -1229,7 +1212,7 @@ export const useInstanceStore = defineStore('Instance', () => {
previousInstancesInfoDialogVisible,
previousInstancesInfoDialogInstanceId,
instanceJoinHistory,
currentInstanceUsersTable,
currentInstanceUsersData,
applyInstance,
updateCurrentInstanceWorld,