Commit 75c4ef17 authored by Matija Obreza's avatar Matija Obreza
Browse files

Little fixes

- Fixed bug displaying UUID field for Admins
- Back link on descriptor list details page
parent 6b2a4aa1
......@@ -130,7 +130,7 @@ class DescriptorListPage extends React.Component<IDescriptorListPageProps, any>
return (
<div>
<ContentHeaderWithButton title="Descriptor list details" buttonName="BACK" buttonUrl="/descriptorlist" />
<ContentHeaderWithButton title="Descriptor list details" buttonName="BACK" buttonUrl="/descriptorlists" />
{ stillLoading ? <Loading className={ classes.contentContainer } /> :
<span>
<Grid container className={ classes.contentContainer }>
......
......@@ -22,7 +22,7 @@ const DescriptorListForm = ({invalid, submitting, error, handleSubmit, initialVa
component={ SelectPartner } partners={ partners }
validate={ [ Validators.required ] } />
<Authorize role="ROLE_ADMINISTRATOR">
{ (! initialValues.uuid && initialValues.version) &&
{ !(initialValues.uuid && initialValues.version) &&
<div>
<div className="p-20 even-row">
<p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment