Skip to content

Commit

Permalink
React on code review
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAndBear committed Apr 8, 2024
1 parent f4716c7 commit 3458c94
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions packages/web-runtime/src/container/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ import {
LoadingService,
PasswordPolicyService,
PreviewService,
UppyService
UppyService,
ClientStore
} from '@ownclouders/web-pkg'
import { init as sentryInit } from '@sentry/vue'
import { webdav } from '@ownclouders/web-client/src/webdav'
Expand Down Expand Up @@ -65,7 +66,6 @@ import {
onSSEFolderCreatedEvent,
onSSEFileTouchedEvent
} from './sse'
import { ClientStore } from '@ownclouders/web-pkg/src/composables/piniaStores/client'

const getEmbedConfigFromQuery = (
doesEmbedEnabledOptionExists: boolean
Expand Down Expand Up @@ -762,17 +762,6 @@ export const registerSSEEventListeners = ({
})
)

clientService.sseAuthenticated.addEventListener(MESSAGE_TYPE.FOLDER_CREATED, (msg) =>
onSSEFolderCreatedEvent({
topic: MESSAGE_TYPE.FOLDER_CREATED,
resourcesStore,
spacesStore,
clientStore,
msg,
clientService
})
)

clientService.sseAuthenticated.addEventListener(MESSAGE_TYPE.FILE_TOUCHED, (msg) =>
onSSEFileTouchedEvent({
topic: MESSAGE_TYPE.FILE_TOUCHED,
Expand Down

0 comments on commit 3458c94

Please sign in to comment.