Skip to content

Commit

Permalink
Merge pull request #68 from RENCI/model-run-form
Browse files Browse the repository at this point in the history
updated button text on layers panel and bring up correct form when bu…
  • Loading branch information
PhillipsOwen authored May 24, 2024
2 parents 76dc441 + 8e78c27 commit 4d25bac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/components/trays/layers/form.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import React from 'react';
import { Stack } from '@mui/joy';
import { ModelSelection } from '../model-selection/model-selection';

export const AddLayerForm = () => {
return (
<Stack sx={{
flex: 1,
}}>
FORM!
</Stack>
<ModelSelection />
);
};
2 changes: 1 addition & 1 deletion src/components/trays/layers/tray-contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const TrayContents = () => {
size="lg"
startDecorator={ <AddLayerIcon /> }
onClick={ handleClickToggleState }
>Add a Layer</Button>
>Add a Model Run</Button>
</Stack>
);
}
Expand Down

0 comments on commit 4d25bac

Please sign in to comment.