Fix variable assignment in Import.php and ApplicationDeploymentJob.php

This commit is contained in:
Andras Bacsai
2024-04-11 13:20:46 +02:00
parent 484a3dbe5c
commit e71032a8fc
11 changed files with 95 additions and 54 deletions

View File

@@ -8,7 +8,7 @@ use Illuminate\Support\Facades\Storage;
class Import extends Component
{
public bool $unsupported = false;
public $resource;
public $parameters;
public $containers;
@@ -65,7 +65,7 @@ class Import extends Component
$this->resource->getMorphClass() == 'App\Models\StandaloneClickhouse' ||
$this->resource->getMorphClass() == 'App\Models\StandaloneMongodb'
) {
$this->dispatch('error', 'Import is not supported for this resource.');
$this->unsupported = true;
}
}