mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-13 03:43:50 +02:00
Group dialog instance ref, edit post button padding
This commit is contained in:
@@ -545,7 +545,7 @@
|
||||
type="text"
|
||||
:icon="Edit"
|
||||
size="small"
|
||||
style="margin-left: 5px"
|
||||
style="margin-left: 5px; padding: 0"
|
||||
@click="
|
||||
showGroupPostEditDialog(groupDialog.id, groupDialog.announcement)
|
||||
" />
|
||||
@@ -555,7 +555,7 @@
|
||||
type="text"
|
||||
:icon="Delete"
|
||||
size="small"
|
||||
style="margin-left: 5px"
|
||||
style="margin-left: 5px; padding: 0"
|
||||
@click="confirmDeleteGroupPost(groupDialog.announcement)" />
|
||||
</el-tooltip>
|
||||
</template>
|
||||
|
||||
@@ -850,7 +850,7 @@ export const useInstanceStore = defineStore('Instance', () => {
|
||||
for (const room of rooms) {
|
||||
ref = cachedInstances.get(room.tag);
|
||||
if (typeof ref !== 'undefined') {
|
||||
room.ref = ref;
|
||||
Object.assign(room.ref, ref);
|
||||
} else if (isRealInstance(room.tag)) {
|
||||
instanceRequest.getInstance({
|
||||
worldId: room.$location.worldId,
|
||||
|
||||
1
src/types/api/instance.d.ts
vendored
1
src/types/api/instance.d.ts
vendored
@@ -6,6 +6,7 @@ export type GetInstance = (params: {
|
||||
instanceId: string;
|
||||
}) => Promise<{
|
||||
json: GetInstanceResponse;
|
||||
ref: GetInstanceResponse;
|
||||
params: { worldId: string; instanceId: string };
|
||||
}>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user