Updated navigation sort order for GuardNameResource and TestingPanelReadingResource for consistent display in the Master Entries and Testing Panel groups
This commit is contained in:
@@ -113,19 +113,19 @@ class TempLiveReadingResource extends Resource
|
||||
Tables\Actions\ForceDeleteBulkAction::make(),
|
||||
Tables\Actions\RestoreBulkAction::make(),
|
||||
]),
|
||||
])
|
||||
->headerActions([
|
||||
ImportAction::make()
|
||||
->importer(TempLiveReadingImporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view import temp live reading');
|
||||
}),
|
||||
ExportAction::make()
|
||||
->exporter(TempLiveReadingExporter::class)
|
||||
->visible(function() {
|
||||
return Filament::auth()->user()->can('view export temp live reading');
|
||||
}),
|
||||
]);
|
||||
// ->headerActions([
|
||||
// ImportAction::make()
|
||||
// ->importer(TempLiveReadingImporter::class)
|
||||
// ->visible(function() {
|
||||
// return Filament::auth()->user()->can('view import temp live reading');
|
||||
// }),
|
||||
// ExportAction::make()
|
||||
// ->exporter(TempLiveReadingExporter::class)
|
||||
// ->visible(function() {
|
||||
// return Filament::auth()->user()->can('view export temp live reading');
|
||||
// }),
|
||||
// ]);
|
||||
}
|
||||
|
||||
public static function getRelations(): array
|
||||
|
||||
Reference in New Issue
Block a user