Updated Hourly production Chart in dashboard
This commit is contained in:
@@ -42,6 +42,8 @@ class HourlyProduction extends Page
|
|||||||
->reactive()
|
->reactive()
|
||||||
->afterStateUpdated(function ($state) {
|
->afterStateUpdated(function ($state) {
|
||||||
session(['selected_plant' => $state]);
|
session(['selected_plant' => $state]);
|
||||||
|
|
||||||
|
// dd(session('selected_plant'));
|
||||||
$this->triggerChartUpdate();
|
$this->triggerChartUpdate();
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user