Merge pull request 'Added log in render method of target' (#1142) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

Reviewed-on: #1142
This commit was merged in pull request #1142.
This commit is contained in:
2026-09-30 11:04:04 +00:00

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;
}
}