Skip to content

Commit

Permalink
feat(unaccepted shares) fixup! my accounts show unaccepted shares
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavSokov committed Aug 31, 2023
1 parent 31d45b5 commit 0bf28d2
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions app/views/my_accounts/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ br
= link_to '- Spend', new_account_spend_path(shared_account), class: 'card-footer-item'

- if unaccepted_shares.present?
h2.title
| Unaccepted shares
.columns
.column
.card
.card-content
table.table.is-fullwidth.is-striped
thead
tr
th Account
th From
th Created
th Link
= render partial: 'account_share', collection: unaccepted_shares.order(created_at: :desc)
h2.title
| Unaccepted shares
.columns
.column
.card
.card-content
table.table.is-fullwidth.is-striped
thead
tr
th Account
th From
th Created
th Link
= render partial: 'account_share', collection: unaccepted_shares.order(created_at: :desc)

0 comments on commit 0bf28d2

Please sign in to comment.