Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Central add metadata info #674

Merged
merged 15 commits into from
Feb 22, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[central] licenses field display fixed
  • Loading branch information
ebamberg committed Feb 19, 2021
commit 840d6b59517ec907fa9e80aca3eea0dec5e78848
2 changes: 1 addition & 1 deletion central/src/main/webapp/components/DynForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function DynForm(props) {

return (
<>
{Object.keys(props.data).map((key) => (
{Object.keys(props.data).filter(key=>key!=='licenses').map((key) => (
<div >
<TextField
id={key}
Expand Down
4 changes: 3 additions & 1 deletion central/src/main/webapp/components/ModelView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ export default function ModelView(props) {
</>
</TabPanel>
<TabPanel value={index} index={1} className={classes.tabpanel}>
<DynForm data={props.model.metadata}/>
<DynForm data={props.model.metadata} />
<h4>Licenses</h4>
<DynForm data={props.model.metadata.licenses}/>
</TabPanel>
<TabPanel value={index} index={2} className={classes.tabpanel}>
<DynForm data={props.model.properties} />
Expand Down