mirror of
https://github.com/modrinth/code.git
synced 2026-09-03 13:36:48 +00:00
fix: shared instance report ctx not working on indv page (#7182)
fix: shared instance report ctx not working
This commit is contained in:
@@ -330,9 +330,13 @@ const sharedInstanceBanPending = ref(false)
|
|||||||
const sharedInstanceVersions = new Map<string, SharedInstances.Instances.v1.InstanceVersion>()
|
const sharedInstanceVersions = new Map<string, SharedInstances.Instances.v1.InstanceVersion>()
|
||||||
let sharedInstanceDetailsRequest: Promise<void> | null = null
|
let sharedInstanceDetailsRequest: Promise<void> | null = null
|
||||||
|
|
||||||
watch(isThreadCollapsed, (collapsed) => {
|
watch(
|
||||||
if (!collapsed) void loadSharedInstanceDetails()
|
isThreadCollapsed,
|
||||||
})
|
(collapsed) => {
|
||||||
|
if (!collapsed) void loadSharedInstanceDetails()
|
||||||
|
},
|
||||||
|
{ immediate: true },
|
||||||
|
)
|
||||||
|
|
||||||
const didCloseReport = ref(false)
|
const didCloseReport = ref(false)
|
||||||
const reportClosed = computed(() => {
|
const reportClosed = computed(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user