remove outer grid on form page w/ burnettk

This commit is contained in:
jasquat 2025-02-11 11:23:54 -05:00
parent ce5abaf100
commit a20359df81
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View File

@ -378,10 +378,8 @@ export default function ProcessModelForm({
};
return (
<form onSubmit={handleFormSubmission}>
<Grid container spacing={3}>
{formElements()}
{formButtons()}
</Grid>
{formElements()}
{formButtons()}
</form>
);
}

View File

@ -65,7 +65,10 @@ function SideNav({
let selectedTab = 0;
if (location.pathname === '/newui/startprocess') {
selectedTab = 1;
} else if (location.pathname.startsWith('/newui/processes')) {
} else if (
location.pathname.startsWith('/newui/processes') ||
location.pathname.startsWith('/newui/process-')
) {
selectedTab = 2;
} else if (location.pathname === '/newui/data-stores') {
selectedTab = 3;