Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
marcogermani87 authored and github-actions[bot] committed Jul 26, 2024
1 parent 9fbb7a7 commit 61703fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Filament/Resources/Concernes/CanPaginateViewRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected function configureAction(Action $action): void
protected function configurePreviousAction(Action $action): void
{
if ($this->getPreviousRecord()) {
$action->url(fn(): string => static::getResource()::getUrl('view', ['record' => $this->getPreviousRecord()]));
$action->url(fn (): string => static::getResource()::getUrl('view', ['record' => $this->getPreviousRecord()]));
} else {
$action
->disabled()
Expand All @@ -34,7 +34,7 @@ protected function configurePreviousAction(Action $action): void
protected function configureNextAction(Action $action): void
{
if ($this->getNextRecord()) {
$action->url(fn(): string => static::getResource()::getUrl('view', ['record' => $this->getNextRecord()]));
$action->url(fn (): string => static::getResource()::getUrl('view', ['record' => $this->getNextRecord()]));
} else {
$action
->disabled()
Expand Down
5 changes: 2 additions & 3 deletions src/Filament/Resources/EmailResource/Pages/ViewEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
namespace RickDBCN\FilamentEmail\Filament\Resources\EmailResource\Pages;

use Filament\Actions\Action;
use Filament\Actions\Concerns\InteractsWithActions;
use Filament\Notifications\Notification;
use Filament\Resources\Pages\ViewRecord;
use Filament\Support\Enums\ActionSize;
use Illuminate\Support\Facades\Storage;
use RickDBCN\FilamentEmail\Filament\Resources\EmailResource;
use RickDBCN\FilamentEmail\Models\Email;
use RickDBCN\FilamentEmail\Filament\Resources\Actions\NextAction;
use RickDBCN\FilamentEmail\Filament\Resources\Actions\PreviousAction;
use RickDBCN\FilamentEmail\Filament\Resources\Concernes\CanPaginateViewRecord;
use RickDBCN\FilamentEmail\Filament\Resources\EmailResource;
use RickDBCN\FilamentEmail\Models\Email;

class ViewEmail extends ViewRecord
{
Expand Down

0 comments on commit 61703fb

Please sign in to comment.