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

This commit is contained in:
dhanabalan
2026-09-30 16:33:52 +05:30
parent e192196fe3
commit 3d0dcd2a54

View File

@@ -662,10 +662,22 @@ class ProductionTargetPlan extends Component
public function render()
{
// 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,
'monthlyRecords' => $this->monthlyRecords,
'dates' => $this->dates,
]);
$html = $view->render();
Log::info('Blade render: ' . ((microtime(true) - $t) * 1000) . ' ms');
return $html;
}
}