Added log in render method of target
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Failing after 23s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 16s
Laravel Larastan / larastan (pull_request) Failing after 4m54s
Laravel Pint / pint (pull_request) Successful in 4m28s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Failing after 23s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 16s
Laravel Larastan / larastan (pull_request) Failing after 4m54s
Laravel Pint / pint (pull_request) Successful in 4m28s
This commit is contained in:
@@ -662,10 +662,22 @@ class ProductionTargetPlan extends Component
|
|||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
// return view('livewire.production-target-plan');
|
// return view('livewire.production-target-plan');
|
||||||
return view('livewire.production-target-plan', [
|
// return view('livewire.production-target-plan', [
|
||||||
|
// 'records' => $this->records,
|
||||||
|
// 'monthlyRecords' => $this->monthlyRecords,
|
||||||
|
// 'dates' => $this->dates,
|
||||||
|
// ]);
|
||||||
|
|
||||||
|
$t = microtime(true);
|
||||||
|
$view = view('livewire.production-target-plan', [
|
||||||
'records' => $this->records,
|
'records' => $this->records,
|
||||||
'monthlyRecords' => $this->monthlyRecords,
|
'monthlyRecords' => $this->monthlyRecords,
|
||||||
'dates' => $this->dates,
|
'dates' => $this->dates,
|
||||||
]);
|
]);
|
||||||
|
$html = $view->render();
|
||||||
|
Log::info('Blade render: ' . ((microtime(true) - $t) * 1000) . ' ms');
|
||||||
|
return $html;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user