web/satellite: change order of projects and invitations in dashboard

This change places project invitations ahead of projects in the cards
view of the All Projects Dashboard in order to be consistent with our
designs.

References #5855

Change-Id: I31268b97a9af2279bf90a171d0958b5a4bcbf13b
This commit is contained in:
Jeremy Wharton 2023-06-13 11:34:55 -05:00
parent 62c29ee9de
commit ed37d72e3f

View File

@ -67,8 +67,8 @@
<div v-if="projects.length || invites.length" class="my-projects__list"> <div v-if="projects.length || invites.length" class="my-projects__list">
<projects-table v-if="isTableViewSelected" :invites="invites" class="my-projects__list__table" /> <projects-table v-if="isTableViewSelected" :invites="invites" class="my-projects__list__table" />
<div v-else-if="!isTableViewSelected" class="my-projects__list__cards"> <div v-else-if="!isTableViewSelected" class="my-projects__list__cards">
<project-item v-for="project in projects" :key="project.id" :project="project" />
<project-invitation-item v-for="invite in invites" :key="invite.projectID" :invitation="invite" /> <project-invitation-item v-for="invite in invites" :key="invite.projectID" :invitation="invite" />
<project-item v-for="project in projects" :key="project.id" :project="project" />
</div> </div>
</div> </div>
<div v-else class="my-projects__empty-area"> <div v-else class="my-projects__empty-area">