[IMPR] Allow change to TeamMembersElement

This commit is contained in:
Tony Air 2023-04-12 18:27:09 +02:00
parent 882240c34e
commit 0a3470a0c3
1 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,8 @@ class TeamMembersElement extends BaseElement
public function Members()
{
return TeamMember::get();
$members = TeamMember::get();
$this->extend('updateMembers', $members);
return $members;
}
}