Meilisearch make links not absolute
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Arwed Molitor 2024-03-17 18:27:42 +01:00 committed by philipp lang
parent 5d256293fb
commit 0f0745749d
1 changed files with 8 additions and 8 deletions

View File

@ -503,8 +503,8 @@ class Member extends Model implements Geolocatable
'group_id' => $this->group->id, 'group_id' => $this->group->id,
'group_name' => $this->group->inner_name ?: $this->group->name, 'group_name' => $this->group->inner_name ?: $this->group->name,
'links' => [ 'links' => [
'show' => route('member.show', ['member' => $this]), 'show' => route('member.show', ['member' => $this], false),
'edit' => route('member.edit', ['member' => $this]), 'edit' => route('member.edit', ['member' => $this], false),
], ],
'age_group_icon' => $this->ageGroupMemberships->first()?->subactivity->slug, 'age_group_icon' => $this->ageGroupMemberships->first()?->subactivity->slug,
'is_leader' => $this->leaderMemberships()->count() > 0, 'is_leader' => $this->leaderMemberships()->count() > 0,