feat: show install command on machine creation

This commit is contained in:
xboard
2026-04-17 06:47:05 +08:00
parent e297b5fe9f
commit a74cc2f19d
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -429,7 +429,7 @@ class Server extends Model
public function groups()
{
return ServerGroup::whereIn('id', $this->group_ids)->get();
return ServerGroup::whereIn('id', $this->group_ids ?? [])->get();
}
public function routes()