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
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:
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user