issue solved for multiple charts displayed in production line count
This commit is contained in:
@@ -53,6 +53,15 @@ class Dashboard extends \Filament\Pages\Dashboard
|
|||||||
{
|
{
|
||||||
return 'Production Line Count';
|
return 'Production Line Count';
|
||||||
}
|
}
|
||||||
|
public function getWidgets(): array
|
||||||
|
{
|
||||||
|
$widgets = [];
|
||||||
|
|
||||||
|
if (CumulativeChart::canView()) {
|
||||||
|
$widgets[] = CumulativeChart::class;
|
||||||
|
}
|
||||||
|
return $widgets;
|
||||||
|
}
|
||||||
|
|
||||||
public static function canAccess(): bool
|
public static function canAccess(): bool
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user