X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5a2f4597393f94b9fa7984f4445d4b599c139f27..1b7a371a20a0ce0f4811e1b58222f1d837b62337:/src/store/projects/project-lock-actions.ts?ds=sidebyside diff --git a/src/store/projects/project-lock-actions.ts b/src/store/projects/project-lock-actions.ts index f135522b53..f01a62258e 100644 --- a/src/store/projects/project-lock-actions.ts +++ b/src/store/projects/project-lock-actions.ts @@ -7,7 +7,7 @@ import { ServiceRepository } from "services/services"; import { projectPanelActions } from "store/project-panel/project-panel-action"; import { RootState } from "store/store"; -export const lockProject = (uuid: string) => +export const freezeProject = (uuid: string) => async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => { const userUUID = getState().auth.user!.uuid; @@ -19,7 +19,7 @@ export const lockProject = (uuid: string) => return updatedProject; }; -export const unlockProject = (uuid: string) => +export const unfreezeProject = (uuid: string) => async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => { const updatedProject = await services.projectService.update(uuid, {