fix height for columns - change style for buttons, sort options for items in menu
[arvados.git] / src / views-components / context-menu / action-sets / collection-action-set.ts
index 07e150245486d85442034849250a2a41acdb4d0d..a33f78d12d5c922005eb70db8c08f5ee243d5d60 100644 (file)
@@ -31,11 +31,6 @@ export const collectionActionSet: ContextMenuActionSet = [[
             dispatch<any>(openSharingDialog(uuid));
         }
     },
-    {
-        icon: MoveToIcon,
-        name: "Move to",
-        execute: (dispatch, resource) => dispatch<any>(openMoveCollectionDialog(resource))
-    },
     {
         component: ToggleFavoriteAction,
         execute: (dispatch, resource) => {
@@ -50,6 +45,11 @@ export const collectionActionSet: ContextMenuActionSet = [[
             dispatch<any>(toggleCollectionTrashed(resource.uuid, resource.isTrashed!!));
         }
     },
+    {
+        icon: MoveToIcon,
+        name: "Move to",
+        execute: (dispatch, resource) => dispatch<any>(openMoveCollectionDialog(resource))
+    },
     {
         icon: CopyIcon,
         name: "Copy to project",
@@ -65,25 +65,25 @@ export const collectionActionSet: ContextMenuActionSet = [[
             dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
         }
     },
-    {
-        icon: ProvenanceGraphIcon,
-        name: "Provenance graph",
-        execute: (dispatch, resource) => {
-            // add code
-        }
-    },
+    // {
+    //     icon: ProvenanceGraphIcon,
+    //     name: "Provenance graph",
+    //     execute: (dispatch, resource) => {
+    //         // add code
+    //     }
+    // },
     {
         icon: AdvancedIcon,
         name: "Advanced",
         execute: (dispatch, resource) => {
             dispatch<any>(openAdvancedTabDialog(resource.uuid));
         }
-    },
-    {
-        icon: RemoveIcon,
-        name: "Remove",
-        execute: (dispatch, resource) => {
-            // add code
-        }
     }
+    // {
+    //     icon: RemoveIcon,
+    //     name: "Remove",
+    //     execute: (dispatch, resource) => {
+    //         // add code
+    //     }
+    // }
 ]];