File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to ` laravel-livewire-tables ` will be documented in this file
4
4
5
- ## 1.0.0 - 2020-XX-XX
5
+ ## [ Unreleased]
6
+
7
+ ## 0.1.0 - 2020-04-03
6
8
7
9
- Initial release
10
+
11
+ [ Unreleased ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v0.1.0...development
Original file line number Diff line number Diff line change @@ -386,14 +386,14 @@ public function columns() : array {
386
386
->sortable(),
387
387
Column::make('Actions')
388
388
->components([
389
- Link::make(false ) // We want to hide the text and just show an icon
389
+ Link::make('Edit' ) // Optionally pass false to hide the text
390
390
->icon('fas fa-pencil-alt')
391
391
->class('btn btn-primary btn-sm')
392
392
->href(function($model) {
393
393
return route('admin.auth.role.edit', $model->id);
394
394
})
395
395
->hideIf(auth()->user()->cannot('access.roles.edit')),
396
- Link::make(false) // We want to hide the text and just show an icon
396
+ Link::make('Delete')
397
397
->icon('fas fa-trash')
398
398
->class('btn btn-danger btn-sm')
399
399
->setAttribute('data-method', 'delete') // Javascript takes over and injects a hidden form
You can’t perform that action at this time.
0 commit comments