File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
frontend/src/components/Common Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -495,6 +495,7 @@ function PaperEditModal<T extends IQuestionPaperFile | IAdminDashboardQP>(props:
495495 {
496496 awaitingSimilarPapers ? < div style = { { justifyContent : 'center' , display : 'flex' } } > < Spinner /> </ div > :
497497 < div >
498+ { similarPapers . length > 0 && < p style = { { margin : "0 0 4px 0" } } > Select papers to replace.</ p > }
498499 {
499500 similarPapers . length === 0 ? < p > No similar papers found.</ p > :
500501 similarPapers . map ( ( paper , i ) => < QPCard
@@ -509,8 +510,7 @@ function PaperEditModal<T extends IQuestionPaperFile | IAdminDashboardQP>(props:
509510 setReplacingPapers ( ( prev ) => prev . filter ( ( p ) => p . id !== paper . id ) ) ;
510511 }
511512 } }
512- />
513- )
513+ /> )
514514 }
515515 </ div >
516516 }
You can’t perform that action at this time.
0 commit comments