You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/components/CommunityHeader/CommunityHeader.js
+2
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,9 @@ class CommunityHeaderComponent extends Component {
37
37
}=this.props;
38
38
const{ modalOpen }=this.state;
39
39
40
+
// record is coming from the Jinja template and it is refreshed on page reload
40
41
constisNewUpload=!record.id;
42
+
// Check if the user can manage the record only if it is not a new upload
Copy file name to clipboardExpand all lines: invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/controls/PublishButton/SubmitReviewButton.js
+10-2
Original file line number
Diff line number
Diff line change
@@ -42,10 +42,17 @@ class SubmitReviewButtonComponent extends Component {
Copy file name to clipboardExpand all lines: invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/controls/PublishButton/SubmitReviewOrPublishButton.js
+1
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ class SubmitReviewOrPublishComponent extends Component {
0 commit comments