diff --git a/packages/neos-ui-redux-store/src/UI/Remote/index.ts b/packages/neos-ui-redux-store/src/UI/Remote/index.ts index b9b1fcb0d2..f26267ed1a 100644 --- a/packages/neos-ui-redux-store/src/UI/Remote/index.ts +++ b/packages/neos-ui-redux-store/src/UI/Remote/index.ts @@ -5,13 +5,11 @@ import {InitAction} from '../../System'; import {NodeContextPath} from '@neos-project/neos-ts-interfaces'; export interface State extends Readonly<{ - isSaving: boolean, - isSyncing: boolean + isSaving: boolean }> {} export const defaultState: State = { - isSaving: false, - isSyncing: false + isSaving: false }; // @@ -22,8 +20,6 @@ export enum actionTypes { FINISH_SAVING = '@neos/neos-ui/UI/Remote/FINISH_SAVING', LOCK_PUBLISHING = '@neos/neos-ui/UI/Remote/LOCK_PUBLISHING', UNLOCK_PUBLISHING = '@neos/neos-ui/UI/Remote/UNLOCK_PUBLISHING', - START_SYNCHRONIZATION = '@neos/neos-ui/UI/Remote/START_SYNCHRONIZATION', - FINISH_SYNCHRONIZATION = '@neos/neos-ui/UI/Remote/FINISH_SYNCHRONIZATION', DOCUMENT_NODE_CREATED = '@neos/neos-ui/UI/Remote/DOCUMENT_NODE_CREATED' } @@ -37,16 +33,6 @@ const startSaving = () => createAction(actionTypes.START_SAVING); */ const finishSaving = () => createAction(actionTypes.FINISH_SAVING); -/** - * Marks an ongoing synchronization process. - */ -const startSynchronization = () => createAction(actionTypes.START_SYNCHRONIZATION); - -/** - * Marks that an ongoing synchronization process has finished. - */ -const finishSynchronization = () => createAction(actionTypes.FINISH_SYNCHRONIZATION); - /** * Marks that an publishing process has been locked. */ @@ -70,8 +56,6 @@ export const actions = { finishSaving, lockPublishing, unlockPublishing, - startSynchronization, - finishSynchronization, documentNodeCreated }; @@ -98,14 +82,6 @@ export const reducer = (state: State = defaultState, action: InitAction | Action draft.isSaving = false; break; } - case actionTypes.START_SYNCHRONIZATION: { - draft.isSyncing = true; - break; - } - case actionTypes.FINISH_SYNCHRONIZATION: { - draft.isSyncing = false; - break; - } } });