Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Flatroy committed Jun 19, 2024
1 parent 3189eb3 commit 1dc7d07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions app/Filament/Pages/Auth/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public function mount(): void
parent::mount();

$this->form->fill([
'email' => 'admin@filamentphp.com',
'password' => 'password',
'email' => 'demo@example.com',
'password' => '[email protected]',
'remember' => true,
]);
}
Expand Down
10 changes: 4 additions & 6 deletions app/Filament/Widgets/Locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

namespace App\Filament\Widgets;

use App\Filament\Resources\ItemResource;
use App\Filament\Resources\LocationResource;
use App\Models\Item;
use App\Models\Location;
use Filament\Tables;
use Filament\Tables\Columns\Layout\Stack;
Expand All @@ -25,15 +23,15 @@ public function table(Table $table): Table
->defaultSort('created_at', 'desc')
->columns([
Stack::make([
Tables\Columns\TextColumn::make('name')
->searchable()->sortable(),
])
Tables\Columns\TextColumn::make('name')
->searchable()->sortable(),
]),
])
->contentGrid([
'md' => 2,
'xl' => 3,
])
->actions([
->actions([
Tables\Actions\Action::make('open')
->url(fn (Location $record): string => LocationResource::getUrl('edit', ['record' => $record])),
]);
Expand Down
1 change: 0 additions & 1 deletion app/Filament/Widgets/RecentlyAdded.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use App\Filament\Resources\ItemResource;
use App\Models\Item;
use Filament\Tables;
use Filament\Tables\Columns\CheckboxColumn;
use Filament\Tables\Table;
use Filament\Widgets\TableWidget as BaseWidget;

Expand Down

0 comments on commit 1dc7d07

Please sign in to comment.