Skip to content

Commit

Permalink
(FIX): Added state for no reviewed posts in peer review workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarFang416 committed Jul 28, 2023
1 parent e582667 commit b4a6577
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ <h2 style="font-weight: bold;">{{ runningGroupTask.workflow.prompt }} </h2>
<div class="heading no-posts" *ngIf="runningGroupTask && runningGroupTask.workflow.type === TaskWorkflowType.GENERATION && showSubmittedPosts && (!submittedPosts|| submittedPosts.length === 0)">
No submitted posts!
</div>

<div class="heading no-posts" *ngIf="runningGroupTask && runningGroupTask.workflow.type !== TaskWorkflowType.GENERATION && showSubmittedPosts && (!submittedPosts|| submittedPosts.length === 0)">
No reviewed posts!
</div>
<!-- Draft post slider -->
<swiper [effect]="'cards'" [grabCursor]="true" class="mySwiper" *ngIf="runningGroupTask && !showSubmittedPosts && posts && posts.length > 0">
<ng-template swiperSlide *ngFor="let htmlPost of posts">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
width: 380px;
height: 100%;

margin: 20% 10%;
margin: 150px 70px 0px 50px;
text-align: center;
}

Expand Down

0 comments on commit b4a6577

Please sign in to comment.