Skip to content

Commit

Permalink
Merge pull request #1313 from ThatConference/cs/submissionStatus
Browse files Browse the repository at this point in the history
fix: accounts for other status
  • Loading branch information
theClarkSell authored Oct 19, 2022
2 parents fe8625d + 149aea9 commit f84bafc
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/routes/my/submissions/_components/submission.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,24 @@
</p>
<p class="mt-2 flex items-start text-sm text-gray-500">
{#if ['WITHDREW', 'CANCELLED'].includes(activity.status)}
<Ban classes="mr-1.5 h-5 w-5" />
<div class="flex items-center">
<Ban classes="mr-1.5 h-5 w-5" />
<span>{activity.status}</span>
</div>
{:else if activity.status === 'ACCEPTED'}
<span
class="mr-1.5 flex h-5 w-5 items-center justify-center rounded-full bg-green-400 ring-8 ring-white">
<CheckFull />
</span>
<span>{activity.status}</span>
{:else}
<Warning classes="mr-1.5 h-5 w-5" />
<div>
<div class="flex items-center">
<Warning classes="text-yellow-500 mr-1.5 h-5 w-5" />
<span>PENDING REVIEW</span>
</div>
</div>
{/if}
{activity.status}
</p>
</div>
</div>
Expand Down

1 comment on commit f84bafc

@vercel
Copy link

@vercel vercel bot commented on f84bafc Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.