mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +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>()
|
||||
let sharedInstanceDetailsRequest: Promise<void> | null = null
|
||||
|
||||
watch(isThreadCollapsed, (collapsed) => {
|
||||
if (!collapsed) void loadSharedInstanceDetails()
|
||||
})
|
||||
watch(
|
||||
isThreadCollapsed,
|
||||
(collapsed) => {
|
||||
if (!collapsed) void loadSharedInstanceDetails()
|
||||
},
|
||||
{ immediate: true },
|
||||
)
|
||||
|
||||
const didCloseReport = ref(false)
|
||||
const reportClosed = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user