mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 05:44:45 +02:00
More adjustments
This commit is contained in:
parent
090b2e6f1b
commit
e50e3509bd
@ -38,21 +38,21 @@ class ListEggs extends ListRecords
|
||||
$newEgg = $eggImportService->handle($eggFile);
|
||||
} catch (Exception $exception) {
|
||||
Notification::make()
|
||||
->title("Imported egg successfully: {$exception->getMessage()}")
|
||||
->success()
|
||||
->title('Egg Import Failed')
|
||||
->danger()
|
||||
->send();
|
||||
|
||||
report($exception);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Notification::make()
|
||||
->title("Imported egg successfully: $newEgg->name")
|
||||
->title("Egg Import Success: $newEgg->name")
|
||||
->success()
|
||||
->send();
|
||||
|
||||
redirect()->route('filament.admin.resources.eggs.edit', [$newEgg]);
|
||||
|
||||
// $livewire->redirect(route('filament.admin.resources.eggs.edit', [$newEgg]));
|
||||
})
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user