Skip to content

Commit

Permalink
feat: deploy modules to different namespaces
Browse files Browse the repository at this point in the history
Signed-off-by: hanshal101 <[email protected]>
  • Loading branch information
hanshal101 authored and hanshal101 committed Jul 8, 2024
1 parent db95630 commit 9d6f610
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cyclops-ui/src/components/pages/EditModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ const EditModule = () => {
});
};
fetchModuleData();
}, [editTemplateForm, form, moduleName, mapsToArray]);
}, [editTemplateForm, form, moduleName,moduleNamespace, mapsToArray]);

useEffect(() => {
form.validateFields(flattenObjectKeys(values));
Expand Down
4 changes: 2 additions & 2 deletions cyclops-ui/src/components/pages/ModuleDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const ModuleDetails = () => {
setLoadResources(true);
setError(mapResponseError(error));
});
}, [moduleName]);
}, [moduleName,moduleNamespace]);

useEffect(() => {
function fetchModule() {
Expand All @@ -210,7 +210,7 @@ const ModuleDetails = () => {
return () => {
clearInterval(interval);
};
}, [moduleName, fetchModuleResources]);
}, [moduleName, moduleNamespace,fetchModuleResources]);

const getCollapseColor = (fieldName: string) => {
if (
Expand Down

0 comments on commit 9d6f610

Please sign in to comment.