Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed Nov 19, 2024
2 parents 004566a + 05d734a commit 752b7cc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Resources/RedirectResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@

namespace Vormkracht10\FilamentRedirects\Resources;

use Filament\Forms\Components\Section;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;
use Illuminate\Support\Facades\Schema;
use Locale;
use Vormkracht10\Backstage\Models\Language;
use Vormkracht10\Backstage\Models\Site;
use Vormkracht10\FilamentRedirects\Resources\RedirectResource\Pages;
use Vormkracht10\Redirects\Models\Redirect;

Expand Down Expand Up @@ -50,7 +45,7 @@ public static function form(Form $form): Form
->label(__('Type'))
->columnSpanFull()
->native(false)
->options(collect(config('redirects.status_codes'))->map(fn(string $type, int $code) => $code . ' ' . $type))
->options(collect(config('redirects.status_codes'))->map(fn (string $type, int $code) => $code . ' ' . $type))
->searchable()
->required()
->default(config('redirects.default_status_code'))
Expand Down

0 comments on commit 752b7cc

Please sign in to comment.