Commit dbe12f1
authored
[ENG-9243] fix preprint moderation preprint datail url and not allow to render Withdraw and Submission tab for preprints moderation if status is null (#744)
- Ticket: https://openscience.atlassian.net/browse/ENG-9243
- Feature flag: n/a
## Purpose
Preprint Moderation: OSF preprint withdrawal request throws error when clicked on preprint and moderator details page is not loading
## Summary of Changes
https://openscience.atlassian.net/browse/ENG-9243?focusedCommentId=91945
1. Use preprint guid for url of such an format https://api.staging3.osf.io/v2/preprints/686bd16271351c4bd25a5deb/?embed%5B%5D=license&embed%5B%5D=identifiers
2. Not allow to render Withdraw and Submission tab for preprints moderation if status is null1 parent 40e63f3 commit dbe12f1
File tree
4 files changed
+10
-2
lines changed- src/app/features/moderation/components
- preprint-submission-item
- preprint-submissions
- preprint-withdrawal-submissions
4 files changed
+10
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
121 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
0 commit comments