fix: storage error on dbs
This commit is contained in:
@@ -31,6 +31,7 @@ class Add extends Component
|
|||||||
public function mount()
|
public function mount()
|
||||||
{
|
{
|
||||||
$this->parameters = get_route_parameters();
|
$this->parameters = get_route_parameters();
|
||||||
|
if (data_get($this->parameters, 'application_uuid')) {
|
||||||
$applicationUuid = $this->parameters['application_uuid'];
|
$applicationUuid = $this->parameters['application_uuid'];
|
||||||
$application = Application::where('uuid', $applicationUuid)->first();
|
$application = Application::where('uuid', $applicationUuid)->first();
|
||||||
if (!$application) {
|
if (!$application) {
|
||||||
@@ -41,6 +42,7 @@ class Add extends Component
|
|||||||
$this->rules['host_path'] = 'required|string';
|
$this->rules['host_path'] = 'required|string';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public function submit()
|
public function submit()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user