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 committed Jul 30, 2024
1 parent 08145dd commit c31e5fa
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/EditModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,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 @@ -234,7 +234,7 @@ const ModuleDetails = () => {
setLoadResources(true);
setError(mapResponseError(error));
});
}, [moduleName]);
}, [moduleName,moduleNamespace]);

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

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

0 comments on commit c31e5fa

Please sign in to comment.