Skip to content

Commit 3bf7847

Browse files
author
David Yell
committed
Link to actual card
1 parent 1d6a689 commit 3bf7847

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Livewire/CardIndex.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ public function table(Table $table): Table
2929
->columns([
3030
TextColumn::make('name')
3131
->sortable()
32-
->searchable(),
32+
->searchable()
33+
->url(fn ($record) => 'https://scryfall.com/search?q=' . urlencode($record->name), true),
3334
TextColumn::make('types')
3435
->sortable()
3536
->searchable(),

0 commit comments

Comments
 (0)