Skip to content

Commit

Permalink
chore: formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramkanakam87 committed Aug 26, 2024
1 parent 9b0c1fe commit e367a2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
use Filament\Resources\RelationManagers\RelationManager;
use Filament\Tables;
use Filament\Tables\Table;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\SoftDeletingScope;

class SampleLocationsRelationManager extends RelationManager
{
Expand Down
9 changes: 4 additions & 5 deletions app/Filament/Dashboard/Resources/SampleLocationResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@

use App\Filament\Dashboard\Resources\SampleLocationResource\Pages;
use App\Filament\Dashboard\Resources\SampleLocationResource\RelationManagers\MoleculesRelationManager;
use App\Filament\Dashboard\Resources\SampleLocationResource\RelationManagers;
use App\Models\SampleLocation;
use Filament\Forms;
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Table;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\SoftDeletingScope;
use Tapp\FilamentAuditing\RelationManagers\AuditsRelationManager;

class SampleLocationResource extends Resource
{
protected static ?string $model = SampleLocation::class;

protected static bool $shouldRegisterNavigation = false;

protected static ?string $navigationGroup = 'Data';

protected static ?int $navigationSort = 6;

protected static ?string $navigationIcon = 'heroicon-s-viewfinder-circle';
Expand All @@ -35,8 +34,8 @@ public static function form(Form $form): Form
Forms\Components\TextInput::make('iri')
->maxLength(255),
Forms\Components\Select::make('organism_id')
->relationship('organisms', 'name')
->searchable()
->relationship('organisms', 'name')
->searchable()
->required(),
Forms\Components\TextInput::make('collection_ids')
->maxLength(255),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\Filament\Dashboard\Resources\SampleLocationResource\Pages;

use App\Filament\Dashboard\Resources\SampleLocationResource;
use Filament\Actions;
use Filament\Resources\Pages\CreateRecord;

class CreateSampleLocation extends CreateRecord
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
use Filament\Resources\RelationManagers\RelationManager;
use Filament\Tables;
use Filament\Tables\Table;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\SoftDeletingScope;

class MoleculesRelationManager extends RelationManager
{
Expand Down

0 comments on commit e367a2e

Please sign in to comment.