fix(ui): Restrict service retrieval to current team
This commit is contained in:
parent
e1c5ace342
commit
f98c58a0a3
1 changed files with 2 additions and 2 deletions
|
|
@ -31,12 +31,12 @@ public function envsUpdated()
|
|||
|
||||
public function refreshEnvs()
|
||||
{
|
||||
$this->service = Service::find($this->serviceId);
|
||||
$this->service = Service::ownedByCurrentTeam()->find($this->serviceId);
|
||||
}
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->service = Service::find($this->serviceId);
|
||||
$this->service = Service::ownedByCurrentTeam()->find($this->serviceId);
|
||||
}
|
||||
|
||||
public function validateCompose()
|
||||
|
|
|
|||
Loading…
Reference in a new issue