Skip to content

Commit

Permalink
TASK: Remove legacy syncWorkspace action from Workspaces state part…
Browse files Browse the repository at this point in the history
…ition
  • Loading branch information
grebaldi committed Apr 25, 2024
1 parent d93f8c3 commit 81d01be
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions packages/neos-ui-redux-store/src/CR/Workspaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ export const defaultState: State = {

export enum actionTypes {
UPDATE = '@neos/neos-ui/CR/Workspaces/UPDATE',
CHANGE_BASE_WORKSPACE = '@neos/neos-ui/CR/Workspaces/CHANGE_BASE_WORKSPACE',
SYNC_WORKSPACE = '@neos/neos-ui/CR/Workspaces/SYNC_WORKSPACE'
CHANGE_BASE_WORKSPACE = '@neos/neos-ui/CR/Workspaces/CHANGE_BASE_WORKSPACE'
}

export type Action = ActionType<typeof actions>;
Expand All @@ -63,18 +62,12 @@ const update = (data: WorkspaceInformation) => createAction(actionTypes.UPDATE,
*/
const changeBaseWorkspace = (name: string) => createAction(actionTypes.CHANGE_BASE_WORKSPACE, name);

/**
* Rebase the user workspace
*/
const syncWorkspace = (name: string) => createAction(actionTypes.SYNC_WORKSPACE, name);

//
// Export the actions
//
export const actions = {
update,
changeBaseWorkspace,
syncWorkspace
changeBaseWorkspace
};

//
Expand Down

0 comments on commit 81d01be

Please sign in to comment.