Skip to content

Commit

Permalink
Merge pull request #198 from lotteon2/fix/manage-in-where-to-start-ss…
Browse files Browse the repository at this point in the history
…e-subscribe

[FIX] 주문 완료 이후 부모 window에서 구독 재연결
  • Loading branch information
CessnaJ authored Jan 16, 2024
2 parents 46befd8 + 3acc0f9 commit a0c2835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/OrderView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const handleMessage = (event: MessageEvent) => {
if (routeName) {
// polling시 계속 발동하지 않고, 실제 이벤트 발생했을때 발동
shouldSubscribeToSSE.value = true
// notificationStore.subscribeToNotificationsHandler() // 구독 재활성화. 문제없을시 코드 삭제 😀
notificationStore.subscribeToNotificationsHandler() // 구독 재활성화. 문제없을시 코드 삭제 😀
}
router.replace({ name: routeName, params: params })
Expand Down

0 comments on commit a0c2835

Please sign in to comment.