Skip to content

Commit

Permalink
Make Component Group sortable in dashboard (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk authored Jan 20, 2025
1 parent 8af2974 commit ccd924a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Filament/Resources/ComponentGroupResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ public static function table(Table $table): Table
Tables\Actions\DeleteBulkAction::make(),
]),
])
->reorderable('order')
->defaultSort('order')
->emptyStateHeading(__('cachet::component_group.list.empty_state.heading'))
->emptyStateDescription(__('cachet::component_group.list.empty_state.description'));
}
Expand Down
1 change: 1 addition & 0 deletions src/Filament/Resources/ComponentResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public static function table(Table $table): Table
]),
])
->reorderable('order')
->defaultSort('order')
->emptyStateHeading(__('cachet::component.list.empty_state.heading'))
->emptyStateDescription(__('cachet::component.list.empty_state.description'));
}
Expand Down

0 comments on commit ccd924a

Please sign in to comment.