conflicts
[arvados-workbench2.git] / src / views-components / context-menu / action-sets / keep-service-action-set.ts
index 5d27e4e9670407a43a833c05da3794e20582d2c7..807a3abf59783a73f3c56bcef40c69fc28c0af2e 100644 (file)
@@ -10,14 +10,14 @@ import { AdvancedIcon, RemoveIcon, AttributesIcon } from "~/components/icon/icon
 export const keepServiceActionSet: ContextMenuActionSet = [[{
     name: "Attributes",
     icon: AttributesIcon,
-    execute: (dispatch, { index }) => {
-        dispatch<any>(openKeepServiceAttributesDialog(index!));
+    execute: (dispatch, { uuid }) => {
+        dispatch<any>(openKeepServiceAttributesDialog(uuid));
     }
 }, {
     name: "Advanced",
     icon: AdvancedIcon,
-    execute: (dispatch, { uuid, index }) => {
-        dispatch<any>(openAdvancedTabDialog(uuid, index));
+    execute: (dispatch, { uuid }) => {
+        dispatch<any>(openAdvancedTabDialog(uuid));
     }
 }, {
     name: "Remove",