share url

This commit is contained in:
Benjamin Takats
2023-01-16 18:19:58 +01:00
parent e4d03510f7
commit cdd888a2fe
2 changed files with 5 additions and 3 deletions

View File

@@ -136,11 +136,13 @@ class LibraryItemTable extends DataTableComponent
.'</span>'; .'</span>';
}) })
->html() ->html()
->sortable(), ->sortable()
->collapseOnMobile(),
Column::make("Tags") Column::make("Tags")
->label( ->label(
fn($row, Column $column) => view('columns.library_items.tags')->withRow($row) fn($row, Column $column) => view('columns.library_items.tags')->withRow($row)
), )
->collapseOnMobile(),
Column::make('') Column::make('')
->label( ->label(
fn($row, Column $column) => view('columns.library_items.action')->withRow($row) fn($row, Column $column) => view('columns.library_items.action')->withRow($row)

View File

@@ -1,4 +1,4 @@
<div> <div class="flex flex-col space-y-1">
@if(str($row->value)->contains('http')) @if(str($row->value)->contains('http'))
<x-button xs amber :href="$row->value" target="_blank"> <x-button xs amber :href="$row->value" target="_blank">
<i class="fa fa-thin fa-book-open mr-2"></i> <i class="fa fa-thin fa-book-open mr-2"></i>