Skip to content

Commit

Permalink
fix: fix avatar not uploaded in tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss committed Aug 10, 2022
1 parent bb52d65 commit 5c98f0c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ public static function dataForTemplatePage(Contact $contact, User $user, Templat
'vault' => $contact->vault_id,
'contact' => $contact->id,
]),
'update_avatar' => route('contact.avatar.update', [
'vault' => $contact->vault_id,
'contact' => $contact->id,
]),
'destroy_avatar' => route('contact.avatar.destroy', [
'vault' => $contact->vault_id,
'contact' => $contact->id,
]),
'update_template' => route('contact.blank', [
'vault' => $contact->vault_id,
'contact' => $contact->id,
Expand Down

0 comments on commit 5c98f0c

Please sign in to comment.