Fix playerlist table size changing when current instance empty

This commit is contained in:
Natsumi
2025-10-15 04:55:10 +11:00
parent 484b98680a
commit 14408b305a
2 changed files with 22 additions and 17 deletions
+2 -2
View File
@@ -189,7 +189,7 @@
<div class="current-instance-table">
<DataTable
v-bind="currentInstanceWorld.ref.id ? currentInstanceUserList : {}"
v-bind="currentInstanceUsersTable"
style="margin-top: 10px; cursor: pointer"
@row-click="selectCurrentInstanceRow">
<el-table-column :label="t('table.playerList.avatar')" width="70" prop="photo">
@@ -439,7 +439,7 @@
const { showWorldDialog } = useWorldStore();
const { lastLocation } = storeToRefs(useLocationStore());
const { currentInstanceLocation, currentInstanceWorld } = storeToRefs(useInstanceStore());
const { currentInstanceUserList, getCurrentInstanceUserList } = useInstanceStore();
const { currentInstanceUsersTable, getCurrentInstanceUserList } = useInstanceStore();
const { menuActiveIndex } = storeToRefs(useUiStore());
const { showFullscreenImageDialog } = useGalleryStore();
const { currentUser } = storeToRefs(useUserStore());