Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa authored and github-actions[bot] committed Aug 30, 2024
1 parent 89b5a1c commit 362dcd8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion config/mails.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php

// config for Vormkracht10/FilamentMails
return [];
return [];
4 changes: 2 additions & 2 deletions src/FilamentMailsPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Vormkracht10\FilamentMails;

use Filament\Panel;
use Filament\Contracts\Plugin;
use Filament\Panel;
use Vormkracht10\FilamentMails\Resources\MailResource;

class FilamentMailsPlugin implements Plugin
Expand Down Expand Up @@ -38,4 +38,4 @@ public static function get(): static

return $plugin;
}
}
}
18 changes: 5 additions & 13 deletions src/Resources/MailResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,11 @@

namespace Vormkracht10\FilamentMails\Resources;

use Filament\Forms;
use Filament\Tables;
use Filament\Forms\Form;
use Filament\Tables\Table;
use Filament\Resources\Resource;
use Vormkracht10\Mails\Models\Mail;
use Filament\Tables\Actions\EditAction;
use Filament\Tables\Actions\ViewAction;
use Filament\Tables\Actions\ActionGroup;
use Filament\Forms\Components\FileUpload;
use Filament\Tables\Actions\DeleteAction;
use Illuminate\Database\Eloquent\Builder;
use Filament\Tables\Table;
use Vormkracht10\FilamentMails\Resources\MailResource\Pages\ListMails;
use Vormkracht10\Mails\Models\Mail;

class MailResource extends Resource
{
Expand All @@ -24,7 +16,7 @@ class MailResource extends Resource

protected static ?string $recordTitleAttribute = 'subject';

protected static bool $isScopedToTenant = false;
protected static bool $isScopedToTenant = false;

public static function getNavigationLabel(): string
{
Expand Down Expand Up @@ -59,7 +51,7 @@ public function getTitle(): string
public static function form(Form $form): Form
{
return $form->schema([
//
//
]);
}

Expand All @@ -74,4 +66,4 @@ public static function getPages(): array
'index' => ListMails::route('/'),
];
}
}
}
3 changes: 1 addition & 2 deletions src/Resources/MailResource/Pages/ListMails.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class ListMails extends ListRecords
{

protected static string $resource = MailResource::class;

public function getTitle(): string
Expand All @@ -19,4 +18,4 @@ protected function getActions(): array
{
return [];
}
}
}

0 comments on commit 362dcd8

Please sign in to comment.