diff --git a/packages/frontend-2/components/settings/workspaces/Regions.vue b/packages/frontend-2/components/settings/workspaces/Regions.vue index 185749a329..59305df303 100644 --- a/packages/frontend-2/components/settings/workspaces/Regions.vue +++ b/packages/frontend-2/components/settings/workspaces/Regions.vue @@ -45,11 +45,18 @@ const props = defineProps<{ workspaceId: string }>() +const pageFetchPolicy = usePageQueryStandardFetchPolicy() const isLoading = useMutationLoading() const setDefaultWorkspaceRegion = useSetDefaultWorkspaceRegion() -const { result } = useQuery(settingsWorkspaceRegionsQuery, () => ({ - workspaceId: props.workspaceId -})) +const { result } = useQuery( + settingsWorkspaceRegionsQuery, + () => ({ + workspaceId: props.workspaceId + }), + () => ({ + fetchPolicy: pageFetchPolicy.value + }) +) const defaultRegion = ref() const availableRegions = computed(() => result.value?.workspace.availableRegions || []) diff --git a/packages/frontend-2/components/viewer/anchored-point/Thread.vue b/packages/frontend-2/components/viewer/anchored-point/Thread.vue index 5c5e4d0925..d3943f0c07 100644 --- a/packages/frontend-2/components/viewer/anchored-point/Thread.vue +++ b/packages/frontend-2/components/viewer/anchored-point/Thread.vue @@ -393,7 +393,11 @@ const isThreadResourceLoaded = computed(() => { }) const toggleCommentResolvedStatus = async () => { - await archiveComment(props.modelValue.id, !props.modelValue.archived) + await archiveComment({ + commentId: props.modelValue.id, + projectId: projectId.value, + archived: !props.modelValue.archived + }) mp.track('Comment Action', { type: 'action', name: 'archive', diff --git a/packages/frontend-2/components/viewer/anchored-point/thread/NewReply.vue b/packages/frontend-2/components/viewer/anchored-point/thread/NewReply.vue index 5182eb5724..91e7bc1df2 100644 --- a/packages/frontend-2/components/viewer/anchored-point/thread/NewReply.vue +++ b/packages/frontend-2/components/viewer/anchored-point/thread/NewReply.vue @@ -34,6 +34,7 @@