Skip to content

Commit c788cc0

Browse files
committed
pkp/pkp-lib#10263 Relax editing metadata on published/posted materials
1 parent 857c676 commit c788cc0

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

src/components/Container/WorkflowPage.stories.js

-6
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

+3-5
Original file line numberDiff line numberDiff line change
@@ -487,11 +487,9 @@ export default {
487487
return field;
488488
});
489489
490-
// Add/remove save button depending on publication status or user permissions
491-
form.canSubmit =
492-
this.canEditPublication &&
493-
publication.status !== pkp.const.STATUS_PUBLISHED;
494-
490+
// Add/remove save button depending on user permissions
491+
form.canSubmit = this.canEditPublication;
492+
495493
// Pass the publication status to the issue selection field
496494
if (formId === pkp.const.FORM_ISSUE_ENTRY) {
497495
form.fields = form.fields.map((field) => {

0 commit comments

Comments
 (0)