delete dashboard/report after module uninstall
This commit is contained in:
@ -62,7 +62,7 @@ class Dashboards extends Controller
|
||||
$dashboard = $this->dispatch(new CreateDashboard([
|
||||
'company_id' => session('company_id'),
|
||||
'name' => trans_choice('general.dashboards', 1),
|
||||
'default_widgets' => true,
|
||||
'default_widgets' => 'core',
|
||||
]));
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ class Widgets extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$widgets = Utility::getClasses();
|
||||
$widgets = Utility::getClasses('all');
|
||||
|
||||
return response()->json($widgets);
|
||||
}
|
||||
|
Reference in New Issue
Block a user