Skip to content

Commit 3cbe0c7

Browse files
committed
refactor(useUpstreamStatus): remove store initialization on mount and unmount
1 parent 9a62507 commit 3cbe0c7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

app/src/composables/useUpstreamStatus.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@ export function useUpstreamStatus(namespaceId?: Ref<number | undefined>) {
1010
const nodeStore = useNodeAvailabilityStore()
1111
const nodeGroupStore = useNodeGroupStore()
1212

13-
// Initialize stores on mount
14-
onMounted(() => {
15-
proxyStore.startMonitoring()
16-
nodeGroupStore.initialize()
17-
})
18-
19-
onUnmounted(() => {
20-
proxyStore.stopMonitoring()
21-
})
22-
2313
// Check if should show multi-node display based on group configuration
2414
const shouldShowMultiNodeDisplay = computed(() => {
2515
if (!namespaceId?.value) {

0 commit comments

Comments
 (0)