Added dispatch in line in target page #1228
@@ -137,7 +137,10 @@ class ProductionTarget extends Page
|
||||
->pluck('name', 'id')
|
||||
->toArray();
|
||||
})
|
||||
->reactive(),
|
||||
->reactive()
|
||||
->afterStateUpdated(function ($state, callable $get, $set) {
|
||||
$this->dispatch('loadData',$state, '', '', '', '');
|
||||
}),
|
||||
// ->afterStateUpdated(function ($state, callable $get, $set) {
|
||||
// $plantId = $get('plant_id');
|
||||
// $lineId = $state;
|
||||
|
||||
Reference in New Issue
Block a user