- {actions.map((action) => (
-
-
handleActionToggle(action.uuid)}
- >
-
-
- {actions.length > 1 && (
-
handleDeleteAction(action.uuid)}
- >
-
-
- )}
-
- ))}
+ {assetType === 'roboticArm' &&
+
+
+
handleResize(e, actionsContainerRef)}
+ className="lists-main-container"
+ ref={actionsContainerRef}
+ style={{ height: "120px" }}
>
-
+
+ {actions.map((action) => (
+
+
handleActionToggle(action.uuid)}
+ >
+
+
+ {actions.length > 1 && (
+
handleDeleteAction(action.uuid)}
+ >
+
+
+ )}
+
+ ))}
+
+
handleResize(e, actionsContainerRef)}
+ >
+
+
+ }
+
+
+
+
+
+
setActiveOption(option)}
+ />
+ {activeOption === "default" && }
+ {activeOption === "spawn" && }
+ {activeOption === "swap" && }
+ {activeOption === "despawn" && }
+ {activeOption === "travel" && }
+ {activeOption === "pickAndPlace" && }
+ {activeOption === "process" && }
+ {activeOption === "store" && }
+
- }
-
-
-
+
+
-
-
setActiveOption(option)}
- />
- {activeOption === "default" && }
- {activeOption === "spawn" && }
- {activeOption === "swap" && }
- {activeOption === "despawn" && }
- {activeOption === "travel" && }
- {activeOption === "pickAndPlace" && }
- {activeOption === "process" && }
- {activeOption === "store" && }
-
-
-
-
-
-
- }
+
+ {/* {assetType === 'conveyor' &&
}
+ {assetType === 'vehicle' &&
}
+ {assetType === 'roboticArm' &&
} */}
+ >
+ }
+
>
);
};
-export default EventProperties;
+export default EventProperties;
\ No newline at end of file
diff --git a/app/src/components/layout/sidebarRight/properties/eventProperties/actions/DelayAction.tsx b/app/src/components/layout/sidebarRight/properties/eventProperties/actions/DelayAction.tsx
new file mode 100644
index 0000000..e4bceb9
--- /dev/null
+++ b/app/src/components/layout/sidebarRight/properties/eventProperties/actions/DelayAction.tsx
@@ -0,0 +1,22 @@
+import React from "react";
+import InputWithDropDown from "../../../../../ui/inputs/InputWithDropDown";
+
+const DelayAction: React.FC = () => {
+ return (
+ <>
+