Skip to content

Commit 0574aee

Browse files
committed
Clarity
1 parent 131246d commit 0574aee

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-livewire-tables` will be documented in this file
44

5-
## 1.0.0 - 2020-XX-XX
5+
## [Unreleased]
6+
7+
## 0.1.0 - 2020-04-03
68

79
- Initial release
10+
11+
[Unreleased]: https://github.com/rappasoft/laravel-livewire-tables/compare/v0.1.0...development

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,14 +386,14 @@ public function columns() : array {
386386
->sortable(),
387387
Column::make('Actions')
388388
->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
390390
->icon('fas fa-pencil-alt')
391391
->class('btn btn-primary btn-sm')
392392
->href(function($model) {
393393
return route('admin.auth.role.edit', $model->id);
394394
})
395395
->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')
397397
->icon('fas fa-trash')
398398
->class('btn btn-danger btn-sm')
399399
->setAttribute('data-method', 'delete') // Javascript takes over and injects a hidden form

0 commit comments

Comments
 (0)