Refactored Filament Livewire components and views. Introduced separate CreateFilament component with route-based navigation. Simplified and cleaned up code by removing legacy modals and unused properties. Updated migrations, table layouts, and styles for consistency.

This commit is contained in:
2025-12-15 01:20:04 +01:00
parent 4759df9077
commit c7671b93b1
15 changed files with 461 additions and 645 deletions
+1 -6
View File
@@ -4,7 +4,6 @@ namespace App\Livewire\Filament;
use Livewire\Component;
use App\Models\Filament as Model;
use Livewire\WithPagination;
use Livewire\Attributes\title;
#[title('Show Filament')]
@@ -21,13 +20,9 @@ class ShowFilament extends Component
return redirect()->route('filaments.edit', $id);
}
public function mount(Model $filament){
$this->filament = $filament;
}
public function render()
{
return view('livewire.filament.show-filament', [
return view('livewire.filament.show', [
]);
}