Merge branch 'master' into 14431-metadata
[arvados-workbench2.git] / src / views-components / context-menu / action-sets / process-resource-action-set.ts
index cf8aba5975b834c0ccccceb9347359a231006429..4a0a83b91d69130d9ccc0a274fd323aca9b4140c 100644 (file)
@@ -28,13 +28,6 @@ export const processResourceActionSet: ContextMenuActionSet = [[
             dispatch<any>(openSharingDialog(uuid));
         }
     },
-    {
-        icon: MoveToIcon,
-        name: "Move to",
-        execute: (dispatch, resource) => {
-            dispatch<any>(openMoveProcessDialog(resource));
-        }
-    },
     {
         component: ToggleFavoriteAction,
         execute: (dispatch, resource) => {
@@ -43,6 +36,13 @@ export const processResourceActionSet: ContextMenuActionSet = [[
             });
         }
     },
+    {
+        icon: MoveToIcon,
+        name: "Move to",
+        execute: (dispatch, resource) => {
+            dispatch<any>(openMoveProcessDialog(resource));
+        }
+    },
     {
         icon: CopyIcon,
         name: "Copy to project",
@@ -56,12 +56,12 @@ export const processResourceActionSet: ContextMenuActionSet = [[
         execute: dispatch => {
             dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
         }
-    },
-    {
-        icon: RemoveIcon,
-        name: "Remove",
-        execute: (dispatch, resource) => {
-            // add code
-        }
     }
+    // {
+    //     icon: RemoveIcon,
+    //     name: "Remove",
+    //     execute: (dispatch, resource) => {
+    //         // add code
+    //     }
+    // }
 ]];