Skip to content

Commit 20dcf7e

Browse files
committed
wip
1 parent b8cbc6d commit 20dcf7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/UserResource/Pages/ViewUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function table(Table $table): Table
129129
->heading(fn($table): Htmlable => new HtmlString(Blade::render('<filament::icon icon="heroicon-m-user"/>' . __('User Traffic (:count)', [
130130
'count' => $table->getQuery()->count(),
131131
]))))
132-
->searchable()
132+
->searchable($table->getQuery()->count() > 0)
133133
->paginated([4])
134134
->columns([
135135
TextColumn::make('path')

0 commit comments

Comments
 (0)