[ARVADOS-WORKBENCH2] updated: 1.2.0-821-g3f359e8
Git user
git at public.curoverse.com
Wed Nov 7 09:34:28 EST 2018
Summary of changes:
src/store/project-panel/project-panel-action.ts | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
via 3f359e860ebe44e984db502afa6842623def8eaa (commit)
from 994434ce0881e5e4f309982790352e9af66cdb05 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 3f359e860ebe44e984db502afa6842623def8eaa
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date: Wed Nov 7 15:34:20 2018 +0100
change code after CR
Feature #14319_loaded_contents_for_project_in_trash
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>
diff --git a/src/store/project-panel/project-panel-action.ts b/src/store/project-panel/project-panel-action.ts
index e094cb1..ef72092 100644
--- a/src/store/project-panel/project-panel-action.ts
+++ b/src/store/project-panel/project-panel-action.ts
@@ -8,6 +8,7 @@ import { Dispatch } from 'redux';
import { ServiceRepository } from "~/services/services";
import { RootState } from '~/store/store';
import { getProperty } from "~/store/properties/properties";
+
export const PROJECT_PANEL_ID = "projectPanel";
export const PROJECT_PANEL_CURRENT_UUID = "projectPanelCurrentUuid";
export const IS_PROJECT_PANEL_TRASHED = 'isProjectPanelTrashed';
@@ -21,7 +22,5 @@ export const openProjectPanel = (projectUuid: string) =>
export const getProjectPanelCurrentUuid = (state: RootState) => getProperty<string>(PROJECT_PANEL_CURRENT_UUID)(state.properties);
-export const setIsProjectPanelTrashed = (isTrashed: boolean) =>
- (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
- dispatch(propertiesActions.SET_PROPERTY({ key: IS_PROJECT_PANEL_TRASHED, value: isTrashed }));
- };
+export const setIsProjectPanelTrashed = (isTrashed: boolean) =>
+ propertiesActions.SET_PROPERTY({ key: IS_PROJECT_PANEL_TRASHED, value: isTrashed });
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list