Skip to content

Commit 75270b6

Browse files
committed
pkp/pkp-lib#10263 Relax editing metadata on published/posted materials
1 parent 736e252 commit 75270b6

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

src/components/Container/WorkflowPage.stories.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,6 @@ const WorkflowPageWithDataAndTemplate = {
220220
</PkpButton>
221221
</template>
222222
</PkpHeader>
223-
<div
224-
v-if="workingPublication.status === getConstant('STATUS_PUBLISHED')"
225-
class="pkpPublication__versionPublished"
226-
>
227-
This version has been published and can not be edited.
228-
</div>
229223
<tabs
230224
class="pkpPublication__tabs"
231225
:is-side-tabs="true"

src/components/Container/WorkflowPage.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -507,11 +507,9 @@ export default {
507507
return field;
508508
});
509509
510-
// Add/remove save button depending on publication status or user permissions
511-
form.canSubmit =
512-
this.canEditPublication &&
513-
publication.status !== pkp.const.STATUS_PUBLISHED;
514-
510+
// Add/remove save button depending on user permissions
511+
form.canSubmit = this.canEditPublication;
512+
515513
// Pass the publication status to the issue selection field
516514
if (formId === pkp.const.FORM_ISSUE_ENTRY) {
517515
form.fields = form.fields.map((field) => {

0 commit comments

Comments
 (0)