Skip to content

Commit 3e182d0

Browse files
committed
Merge branch 'develop'
2 parents 37ab02a + 2209bd7 commit 3e182d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/columns/other-column-types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,16 @@ ButtonGroupColumn::make('Actions')
140140
];
141141
})
142142
->buttons([
143-
LinkColumn::make('View')
143+
LinkColumn::make('View') // make() has no effect in this case but needs to be set anyway
144144
->title(fn($row) => 'View ' . $row->name)
145145
->location(fn($row) => route('user.show', $row)),
146146
->attributes(function($row) {
147147
return [
148148
'class' => 'underline text-blue-500 hover:no-underline',
149149
];
150150
}),
151-
LinkColumn::make('Edit ' . $row->name)
152-
->title(fn($row) => 'Edit')
151+
LinkColumn::make('Edit')
152+
->title(fn($row) => 'Edit ' . $row->name)
153153
->location(fn($row) => route('user.edit', $row)),
154154
->attributes(function($row) {
155155
return [

0 commit comments

Comments
 (0)