Skip to content

Commit 47c377d

Browse files
authored
[ENG-10219] Unable to withdraw OSF preprints via the Moderator Dashboard (#935)
- Ticket: https://openscience.atlassian.net/browse/ENG-10219 - Feature flag: n/a ## Summary of Changes 1. Fix issue with approve preprints.
1 parent 1913192 commit 47c377d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/features/preprints/components/preprint-details/preprint-make-decision/preprint-make-decision.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export class PreprintMakeDecisionComponent {
172172
() => decisionSettings.moderation[this.provider().reviewsWorkflow || ProviderReviewsWorkflow.PreModeration]
173173
);
174174

175-
commentEdited = computed(() => this.reviewerComment()?.trim() !== this.initialReviewerComment());
175+
commentEdited = computed(() => this.reviewerComment()?.trim() !== this.initialReviewerComment()?.trim());
176176

177177
commentExceedsLimit = computed(() => {
178178
const comment = this.reviewerComment();

0 commit comments

Comments
 (0)