Remove edit route from searchable array
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
300e935a92
commit
c43f0fd1a5
|
@ -538,7 +538,6 @@ class Member extends Model implements Geolocatable
|
||||||
'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], false),
|
'show' => route('member.show', ['member' => $this], false),
|
||||||
'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,
|
||||||
|
|
Loading…
Reference in New Issue