diff --git a/README.md b/README.md
index da60831d..1702c86d 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
-
+
diff --git a/package.json b/package.json
index 0a462e4b..fa865cd8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ui",
- "version": "0.18.9",
+ "version": "0.19.0",
"private": true,
"scripts": {
"dev": "react-scripts start",
diff --git a/src/components/CFGpuCore/CFGpuCore.tsx b/src/components/CFGpuCore/CFGpuCore.tsx
index 0cbc4c96..65dbcac3 100644
--- a/src/components/CFGpuCore/CFGpuCore.tsx
+++ b/src/components/CFGpuCore/CFGpuCore.tsx
@@ -16,7 +16,7 @@ export default function CFGpuCore({
const { robotData } = useCreateRobot();
useEffect(() => {
- formik.setFieldValue("ideGpuResource", 0);
+ !disabled && formik.setFieldValue("ideGpuResource", 0);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [robotData.step1.ideGpuResourceType]);
diff --git a/src/components/HiddenFrame/HiddenFrame.tsx b/src/components/HiddenFrame/HiddenFrame.tsx
index 48365d02..d8ff4d9c 100644
--- a/src/components/HiddenFrame/HiddenFrame.tsx
+++ b/src/components/HiddenFrame/HiddenFrame.tsx
@@ -1,10 +1,4 @@
-import React, {
- Fragment,
- ReactElement,
- useEffect,
- useRef,
- useState,
-} from "react";
+import React, { Fragment, ReactElement, useEffect, useState } from "react";
import useRobot from "../../hooks/useRobot";
import { useAppSelector } from "../../hooks/redux";
@@ -26,35 +20,20 @@ export default function HiddenFrame(): ReactElement {
};
}, [iframeKey]);
- const frame = useRef(null);
-
- useEffect(() => {
- const test = document.getElementsByClassName("-top-[9999px]")?.[0];
- console.log(test.children?.[0]?.children?.[0]?.children?.[0]);
- }, [frame, iframeKey]);
-
return (
{responseRobot?.ideIngressEndpoint && (
diff --git a/src/contexts/FunctionsContext.tsx b/src/contexts/FunctionsContext.tsx
index 2cdf60d7..b6e7e56e 100644
--- a/src/contexts/FunctionsContext.tsx
+++ b/src/contexts/FunctionsContext.tsx
@@ -1107,6 +1107,9 @@ export default ({ children }: any) => {
ideGpuResourceType:
responseEnvironment?.payload?.data[0]?.roboticsClouds[0]
?.cloudInstances[0]?.environments?.[0]?.ideGpuModelName,
+ ideGpuResource:
+ responseEnvironment?.payload?.data[0]?.roboticsClouds[0]
+ ?.cloudInstances[0]?.environments?.[0]?.ideGpuResource,
isEnabledROS2Bridge:
responseEnvironment?.payload?.data[0]?.roboticsClouds[0]
?.cloudInstances[0]?.environments[0]?.bridgeEnabled,