mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
dd0d997a4f
commit
638569492a
1 file changed
+1
-1
@@ -41,7 +41,7 @@ class MasterTask extends Model
|
|||||||
if (!$this->team){
|
if (!$this->team){
|
||||||
return $users;
|
return $users;
|
||||||
}
|
}
|
||||||
dd($this->subtasks);
|
dd($users);
|
||||||
return $users->filter(function ($user) {
|
return $users->filter(function ($user) {
|
||||||
return !in_array($this->team->id, isset($user->teams) ? $user->teams->pluck('id')->unique()->toArray() : []);
|
return !in_array($this->team->id, isset($user->teams) ? $user->teams->pluck('id')->unique()->toArray() : []);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user