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
25321a56b0
commit
1e21580432
1 file changed
+3
@@ -43,6 +43,9 @@ class MasterTask extends Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
return $users->filter(function ($user) {
|
return $users->filter(function ($user) {
|
||||||
|
if (!isset($user->teams)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return !in_array($this->team->id, $user->teams->pluck('id')->unique()->toArray());
|
return !in_array($this->team->id, $user->teams->pluck('id')->unique()->toArray());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user