fix: storage error on dbs
This commit is contained in:
		
							parent
							
								
									0c90d3d0a1
								
							
						
					
					
						commit
						51db2f797d
					
				| @ -31,14 +31,16 @@ class Add extends Component | |||||||
|     public function mount() |     public function mount() | ||||||
|     { |     { | ||||||
|         $this->parameters = get_route_parameters(); |         $this->parameters = get_route_parameters(); | ||||||
|         $applicationUuid = $this->parameters['application_uuid']; |         if (data_get($this->parameters, 'application_uuid')) { | ||||||
|         $application = Application::where('uuid', $applicationUuid)->first(); |             $applicationUuid = $this->parameters['application_uuid']; | ||||||
|         if (!$application) { |             $application = Application::where('uuid', $applicationUuid)->first(); | ||||||
|             abort(404); |             if (!$application) { | ||||||
|         } |                 abort(404); | ||||||
|         if ($application->destination->server->isSwarm()) { |             } | ||||||
|             $this->isSwarm = true; |             if ($application->destination->server->isSwarm()) { | ||||||
|             $this->rules['host_path'] = 'required|string'; |                 $this->isSwarm = true; | ||||||
|  |                 $this->rules['host_path'] = 'required|string'; | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user