Remove commented-out Plant ID column from AlertMailRuleResource table for cleaner code
This commit is contained in:
@@ -123,20 +123,6 @@ class AlertMailRuleResource extends Resource
|
||||
}
|
||||
return $plants[$state] ?? 'All Plants';
|
||||
}),
|
||||
// Tables\Columns\TextColumn::make('plant.id')
|
||||
// ->label('Plant ID')
|
||||
// ->numeric()
|
||||
// ->alignCenter()
|
||||
// ->searchable()
|
||||
// ->sortable()
|
||||
// ->formatStateUsing(function ($state) {
|
||||
// static $plants;
|
||||
// if (! $plants) {
|
||||
// $plants = Plant::pluck('id', 'id')->toArray();
|
||||
// }
|
||||
// return $plants[$state] ?? '0';
|
||||
// })
|
||||
// ->toggleable(isToggledHiddenByDefault: true),
|
||||
Tables\Columns\TextColumn::make('module')
|
||||
->label('Module Name')
|
||||
->alignCenter()
|
||||
|
||||
Reference in New Issue
Block a user