migrating tests (Metrics, NotificationChannels, PHP, Profile and Projects)

This commit is contained in:
Saeed Vaziry
2024-10-10 23:24:07 +02:00
parent 93cee92568
commit 7086e84c3c
16 changed files with 292 additions and 212 deletions

View File

@ -43,9 +43,13 @@ protected function getHeaderActions(): array
->authorize('create', NotificationChannel::class)
->modalWidth(MaxWidth::Large)
->action(function (array $data) {
Actions\Create::action($data);
try {
Actions\Create::action($data);
$this->dispatch('$refresh');
$this->dispatch('$refresh');
} catch (\Exception) {
$this->halt();
}
}),
];
}