Style fixes
This commit is contained in:
		
							parent
							
								
									7b66e1ce33
								
							
						
					
					
						commit
						8b060e8834
					
				| @ -452,14 +452,12 @@ class CreateServer extends CreateRecord | |||||||
|                                                 $fail($message); |                                                 $fail($message); | ||||||
|                                             } |                                             } | ||||||
|                                         }, |                                         }, | ||||||
|                                     ]) |                                     ]); | ||||||
|                                 ; |  | ||||||
| 
 | 
 | ||||||
|                                 $select = Forms\Components\Select::make('variable_value') |                                 $select = Forms\Components\Select::make('variable_value') | ||||||
|                                     ->hidden($this->shouldHideComponent(...)) |                                     ->hidden($this->shouldHideComponent(...)) | ||||||
|                                     ->options($this->getSelectOptionsFromRules(...)) |                                     ->options($this->getSelectOptionsFromRules(...)) | ||||||
|                                     ->selectablePlaceholder(false) |                                     ->selectablePlaceholder(false); | ||||||
|                                 ; |  | ||||||
| 
 | 
 | ||||||
|                                 $components = [$text, $select]; |                                 $components = [$text, $select]; | ||||||
| 
 | 
 | ||||||
| @ -476,8 +474,7 @@ class CreateServer extends CreateRecord | |||||||
|                                             $environment = $get($envPath = '../../environment'); |                                             $environment = $get($envPath = '../../environment'); | ||||||
|                                             $environment[$get('env_variable')] = $state; |                                             $environment[$get('env_variable')] = $state; | ||||||
|                                             $set($envPath, $environment); |                                             $set($envPath, $environment); | ||||||
|                                         }) |                                         }); | ||||||
|                                     ; |  | ||||||
|                                 } |                                 } | ||||||
| 
 | 
 | ||||||
|                                 return $components; |                                 return $components; | ||||||
| @ -605,7 +602,6 @@ class CreateServer extends CreateRecord | |||||||
|             ->explode(',') |             ->explode(',') | ||||||
|             ->each(fn ($value) => str($value)->trim()) |             ->each(fn ($value) => str($value)->trim()) | ||||||
|             ->mapWithKeys(fn ($value) => [$value => $value]) |             ->mapWithKeys(fn ($value) => [$value => $value]) | ||||||
|             ->all() |             ->all(); | ||||||
|         ; |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Lance Pioch
						Lance Pioch