wip
This commit is contained in:
1 parent
28640e1d30
commit
c8a8064430
12 files changed
+2420
-2317
No files matched your search
@@ -6,6 +6,7 @@ use App\Actions\Create\CreateProjektInhaltsverzeichnis;
|
||||
use App\Filament\Resources\Projektes\ProjekteResource;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class ListProjektes extends ListRecords
|
||||
{
|
||||
@@ -18,7 +19,7 @@ class ListProjektes extends ListRecords
|
||||
->icon('phosphor-file-plus')
|
||||
->createAnother(false)
|
||||
->mutateDataUsing(function (array $data): array {
|
||||
$data['konto_id'] = auth()->user()->konto_id;
|
||||
$data['konto_id'] = Auth::user()->konto_id;
|
||||
|
||||
return $data;
|
||||
})->after(function ($record) {
|
||||
|
||||
Reference in new issue
Block a user