Skip to content

Commit 3d1a81a

Browse files
committed
feat(pci-ai-tools): QPU deeplinks and fix
ref: #AIS-1742 Signed-off-by: Toufik mouhmouh <[email protected]>
1 parent 3b57e32 commit 3d1a81a

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

packages/manager/apps/pci-ai-tools/src/pages/qpus/create/_components/useOrderFunnel.hook.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,13 @@ export function useOrderFunnel(
237237
'frameworkWithVersion.version',
238238
listFramework[0]?.versions[0],
239239
);
240-
}, [regionObject, region, listFramework, flavorQuery.isSuccess]);
241-
240+
}, [
241+
regionObject,
242+
region,
243+
listFramework,
244+
flavorQuery.isSuccess,
245+
qpuFlavorQuery.isSuccess,
246+
]);
242247
// Change editors when region change?
243248
useEffect(() => {
244249
const suggestedEditor =

packages/manager/apps/public-cloud/src/links.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,16 @@
440440
"path": "/pci/projects/{project}/ai/endpoints"
441441
}
442442
},
443+
{
444+
"public": {
445+
"application": "public-cloud",
446+
"path": "/create-quantum-qpu"
447+
},
448+
"redirect": {
449+
"application": "public-cloud",
450+
"path": "/pci/projects/{project}/ai-ml/quantum/qpu"
451+
}
452+
},
443453
{
444454
"public": {
445455
"application": "public-cloud",

0 commit comments

Comments
 (0)