Skip to content

Commit

Permalink
feat(notes+follow) - Share Grant card (#3519)
Browse files Browse the repository at this point in the history
* add grant activity card

* add tests

* adjust styling

* resolve pr comments

* adjust loading flow

* error handling

* replace share grant card
  • Loading branch information
greg-adams authored Sep 18, 2024
1 parent b663f84 commit cdec58f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions packages/client/src/views/GrantDetailsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,15 @@

<!-- Right page column: secondary assign grant section -->
<div class="grant-details-secondary-actions">
<div class="mb-3">
<ShareGrant v-if="!followNotesEnabled" />
<GrantActivity v-if="followNotesEnabled" />
</div>

<GrantActivity
v-if="followNotesEnabled"
class="mb-3"
/>
<!-- Team status section -->
<b-card>
<b-card
v-if="!followNotesEnabled"
class="mb-3"
>
<div class="mb-5">
<h3 class="mb-3">
{{ newTerminologyEnabled ? 'Team': 'Agency' }} Status
Expand Down Expand Up @@ -193,6 +195,7 @@
</div>
</div>
</b-card>
<ShareGrant class="mb-3" />
</div>
</div>
</b-container>
Expand Down Expand Up @@ -506,7 +509,6 @@ export default {
.grant-details-secondary-actions {
grid-area: secondary-actions;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
margin-left: 1rem;
margin-right: 1rem;
Expand Down

0 comments on commit cdec58f

Please sign in to comment.