Fix config sidebar button state (#602)
This commit is contained in:
@@ -51,14 +51,12 @@ const ConfigPage = () => {
|
|||||||
description:
|
description:
|
||||||
`The configuration change ${moduleConfig.payloadVariant.case} has been saved.`,
|
`The configuration change ${moduleConfig.payloadVariant.case} has been saved.`,
|
||||||
})
|
})
|
||||||
|
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
setIsSaving(false);
|
setIsSaving(false);
|
||||||
}
|
}
|
||||||
await connection?.commitEditSettings();
|
await connection?.commitEditSettings();
|
||||||
|
|
||||||
} catch (_error) {
|
} catch (_error) {
|
||||||
toast({
|
toast({
|
||||||
title: "Error Saving Config",
|
title: "Error Saving Config",
|
||||||
@@ -87,11 +85,12 @@ const ConfigPage = () => {
|
|||||||
/>
|
/>
|
||||||
</SidebarSection>
|
</SidebarSection>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
), [])
|
),
|
||||||
|
[activeConfigSection],
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
||||||
<PageLayout
|
<PageLayout
|
||||||
contentClassName="overflow-auto"
|
contentClassName="overflow-auto"
|
||||||
leftBar={leftSidebar}
|
leftBar={leftSidebar}
|
||||||
|
|||||||
Reference in New Issue
Block a user