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