Merge branch 'patricio-wip-11' into patricio-deploy-proxy
This commit is contained in:
@@ -56,7 +56,7 @@ class ApplicationController extends Controller
|
||||
if (!$application) {
|
||||
return redirect()->route('dashboard');
|
||||
}
|
||||
$activity = Activity::where('properties->deployment_uuid', '=', $deployment_uuid)->first();
|
||||
$activity = Activity::where('properties->type_uuid', '=', $deployment_uuid)->first();
|
||||
|
||||
return view('project.application.deployment', [
|
||||
'application' => $application,
|
||||
|
||||
@@ -12,7 +12,7 @@ class GetDeployments extends Component
|
||||
public string $status;
|
||||
public function polling()
|
||||
{
|
||||
$activity = Activity::where('properties->deployment_uuid', '=', $this->deployment_uuid)->first();
|
||||
$activity = Activity::where('properties->type_uuid', '=', $this->deployment_uuid)->first();
|
||||
$this->created_at = $activity->created_at;
|
||||
$this->status = data_get($activity, 'properties.status');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user