feat(manager): add dossiers invites in user dashboard
This commit is contained in:
parent
86fb28bda0
commit
4ccb61981d
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,8 @@ class UserDashboard < Administrate::BaseDashboard
|
||||||
blocked_at: Field::DateTime,
|
blocked_at: Field::DateTime,
|
||||||
blocked_reason: Field::String,
|
blocked_reason: Field::String,
|
||||||
current_sign_in_at: Field::DateTime,
|
current_sign_in_at: Field::DateTime,
|
||||||
dossiers: Field::HasMany
|
dossiers: Field::HasMany,
|
||||||
|
dossiers_invites: Field::HasMany
|
||||||
}.freeze
|
}.freeze
|
||||||
|
|
||||||
# COLLECTION_ATTRIBUTES
|
# COLLECTION_ATTRIBUTES
|
||||||
|
@ -34,6 +35,7 @@ class UserDashboard < Administrate::BaseDashboard
|
||||||
# an array of attributes that will be displayed on the model's show page.
|
# an array of attributes that will be displayed on the model's show page.
|
||||||
SHOW_PAGE_ATTRIBUTES = [
|
SHOW_PAGE_ATTRIBUTES = [
|
||||||
:dossiers,
|
:dossiers,
|
||||||
|
:dossiers_invites,
|
||||||
:id,
|
:id,
|
||||||
:email,
|
:email,
|
||||||
:confirmed?,
|
:confirmed?,
|
||||||
|
|
Loading…
Reference in a new issue