fix: delete resource if there was an error

fix: do not refresh on containerStatusJob (db view)
This commit is contained in:
Andras Bacsai committed 2023-10-14 17:26:16 +02:00
1 parent 0ef386b4a8
commit bc3e59e4ef
5 files changed
+5 -6

No files matched your search

@@ -6,7 +6,6 @@ use App\Actions\Database\StartPostgresql;
use App\Actions\Database\StartRedis;
use App\Actions\Database\StopDatabase;
use App\Jobs\ContainerStatusJob;
use App\Notifications\Application\StatusChanged;
use Livewire\Component;
class Heading extends Component
@@ -29,7 +28,6 @@ class Heading extends Component
{
dispatch_sync(new ContainerStatusJob($this->database->destination->server));
$this->database->refresh();
$this->emit('refresh');
}
public function mount()