mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
fixes
This commit is contained in:
1 parent
ab1ea30dec
commit
8f3ef2b1c5
19 files changed
+130
-23
No files matched your search
@@ -79,4 +79,11 @@ class Team extends Model implements SendsDiscord, SendsEmail
|
||||
$sources = $sources->merge($github_apps)->merge($gitlab_apps);
|
||||
return $sources;
|
||||
}
|
||||
public function isEmpty()
|
||||
{
|
||||
if ($this->projects()->count() === 0 && $this->servers()->count() === 0 && $this->privateKeys()->count() === 0 && $this->sources()->count() === 0) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user