Browse Source

Fix config sidebar button state

pull/602/head
Jeremy Gallant 1 year ago
parent
commit
c1aeed3089
  1. 7
      src/pages/Config/index.tsx

7
src/pages/Config/index.tsx

@ -51,14 +51,12 @@ const ConfigPage = () => {
description:
`The configuration change ${moduleConfig.payloadVariant.case} has been saved.`,
})
)
),
);
setIsSaving(false);
}
await connection?.commitEditSettings();
} catch (_error) {
toast({
title: "Error Saving Config",
@ -87,11 +85,12 @@ const ConfigPage = () => {
/>
</SidebarSection>
</Sidebar>
), [])
),
[activeConfigSection],
);
return (
<>
<PageLayout
contentClassName="overflow-auto"
leftBar={leftSidebar}

Loading…
Cancel
Save