wip
This commit is contained in:
parent
ad04bdc99c
commit
fa2f34ba3c
@ -24,7 +24,7 @@ protected static function booted()
|
||||
];
|
||||
static public function ownedByCurrentTeam()
|
||||
{
|
||||
return Project::whereTeamId(session('currentTeam')->id);
|
||||
return Project::whereTeamId(session('currentTeam')->id)->orderBy('name');
|
||||
}
|
||||
public function team()
|
||||
{
|
||||
|
@ -87,7 +87,7 @@ public function muxFilename()
|
||||
static public function ownedByCurrentTeam(array $select = ['*'])
|
||||
{
|
||||
$selectArray = collect($select)->concat(['id']);
|
||||
return Server::whereTeamId(session('currentTeam')->id)->with('settings')->select($selectArray->all());
|
||||
return Server::whereTeamId(session('currentTeam')->id)->with('settings')->select($selectArray->all())->orderBy('name');
|
||||
}
|
||||
|
||||
static public function validated()
|
||||
|
@ -307,6 +307,7 @@ const magicActions = [{
|
||||
{
|
||||
id: 8,
|
||||
name: 'Create: Team',
|
||||
tags: 'team,member,new,create',
|
||||
icon: 'team',
|
||||
new: true,
|
||||
sequence: ['main', 'redirect']
|
||||
|
Loading…
Reference in New Issue
Block a user