This commit is contained in:
Bozhidar 2024-05-13 16:45:26 +03:00
parent 75db2ccd8b
commit b6e66da6f6
2 changed files with 6 additions and 4 deletions

View file

@ -5,6 +5,7 @@ namespace App\Filament\Resources\HostingSubscriptionResource\Pages;
use App\Filament\Resources\HostingSubscriptionResource;
use Filament\Actions;
use Filament\Resources\Pages\EditRecord;
use Filament\Resources\Pages\Page;
use Filament\Resources\Pages\ViewRecord;
class ViewHostingSubscription extends ViewRecord
@ -16,6 +17,7 @@ class ViewHostingSubscription extends ViewRecord
public static function getPages(): array
{
return [
];
}
@ -25,4 +27,5 @@ class ViewHostingSubscription extends ViewRecord
];
}
}

View file

@ -58,7 +58,6 @@
</div>
@if(!empty($files))
<div class="overflow-hidden bg-white shadow ring-1 ring-black ring-opacity-5 md:rounded-lg mt-4">
<table class="w-full">
<thead>
@ -86,6 +85,7 @@
</tr>
@endif
@if(!empty($files))
@foreach($files as $file)
<tr wire:click="goto('{{$file['name']}}')" wire:key="{{md5($file['name'])}}" class="transition border border-slate-200 cursor-pointer hover:bg-gray-100 p-4">
<td class="w-6 p-4">
@ -158,10 +158,9 @@
</td>
</tr>
@endforeach
@endif
</tbody>
</table>
</div>
@else
<p>No files found</p>
@endif
</div>