fix: delete resource if there was an error

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

View File

@@ -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()