projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19302: tree nav to virtual machines works Arvados-DCO-1.1-Signed-off-by: Lisa Knox...
[arvados-workbench2.git]
/
src
/
store
/
side-panel-tree
/
side-panel-tree-actions.ts
diff --git
a/src/store/side-panel-tree/side-panel-tree-actions.ts
b/src/store/side-panel-tree/side-panel-tree-actions.ts
index 0abea951bfd30afd5f99c07f0113c2c8c712ccd1..91c19d4e7f93000cb8373a365c39497434536a8b 100644
(file)
--- a/
src/store/side-panel-tree/side-panel-tree-actions.ts
+++ b/
src/store/side-panel-tree/side-panel-tree-actions.ts
@@
-24,7
+24,7
@@
export enum SidePanelTreeCategory {
PUBLIC_FAVORITES = 'Public Favorites',
SHARED_WITH_ME = 'Shared with me',
ALL_PROCESSES = 'All Processes',
PUBLIC_FAVORITES = 'Public Favorites',
SHARED_WITH_ME = 'Shared with me',
ALL_PROCESSES = 'All Processes',
- SHELL_ACCESS = 'Shell
a
ccess',
+ SHELL_ACCESS = 'Shell
A
ccess',
GROUPS = 'Groups',
TRASH = 'Trash',
}
GROUPS = 'Groups',
TRASH = 'Trash',
}
@@
-188,9
+188,9
@@
export const activateSidePanelTreeItem = (id: string) =>
async (dispatch: Dispatch, getState: () => RootState) => {
const node = getSidePanelTreeNode(id)(getState().treePicker);
if (node && !node.active) {
async (dispatch: Dispatch, getState: () => RootState) => {
const node = getSidePanelTreeNode(id)(getState().treePicker);
if (node && !node.active) {
-
dispatch(treePickerActions.ACTIVATE_TREE_PICKER_NODE({ id, pickerId: SIDE_PANEL_TREE }));
-
}
-
if (!isSidePanelTreeCategory(id)) {
+ dispatch(treePickerActions.ACTIVATE_TREE_PICKER_NODE({ id, pickerId: SIDE_PANEL_TREE }));
+ }
+ if (!isSidePanelTreeCategory(id)) {
await dispatch<any>(activateSidePanelTreeProject(id));
}
};
await dispatch<any>(activateSidePanelTreeProject(id));
}
};