Update HostingSubscriptionResource.php

This commit is contained in:
Bozhidar Slaveykov 2024-04-04 19:54:28 +03:00
parent 781987291e
commit c95e41ccae

View file

@ -134,12 +134,13 @@ class HostingSubscriptionResource extends Resource
//
])
->actions([
Tables\Actions\EditAction::make(),
Tables\Actions\Action::make('visit')
->label('Open website')
->icon('heroicon-m-arrow-top-right-on-square')
->color('gray')
->url(fn ($record): string => 'http://' . $record->domain, true),
Tables\Actions\EditAction::make(),
Tables\Actions\DeleteAction::make(),
])
->bulkActions([
Tables\Actions\BulkActionGroup::make([