From 3458c948bef1b0bf868f8be1d18d920d68070ff0 Mon Sep 17 00:00:00 2001 From: Jan Ackermann Date: Mon, 8 Apr 2024 10:14:27 +0200 Subject: [PATCH] React on code review --- packages/web-runtime/src/container/bootstrap.ts | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/packages/web-runtime/src/container/bootstrap.ts b/packages/web-runtime/src/container/bootstrap.ts index cf6ef955bd5..65f2b310d51 100644 --- a/packages/web-runtime/src/container/bootstrap.ts +++ b/packages/web-runtime/src/container/bootstrap.ts @@ -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' @@ -65,7 +66,6 @@ import { onSSEFolderCreatedEvent, onSSEFileTouchedEvent } from './sse' -import { ClientStore } from '@ownclouders/web-pkg/src/composables/piniaStores/client' const getEmbedConfigFromQuery = ( doesEmbedEnabledOptionExists: boolean @@ -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,