mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	UI: fix create vpc private gw by regular users (#6445)
This commit is contained in:
		
							parent
							
								
									22c48363a1
								
							
						
					
					
						commit
						d45d257b9a
					
				| @ -187,7 +187,7 @@ | ||||
|               </a-form-item> | ||||
|               <a-form-item :label="$t('label.associatednetwork')" ref="associatednetworkid" name="associatednetworkid"> | ||||
|                 <a-select | ||||
|                   v-model:value="form.associatednetwork" | ||||
|                   v-model:value="form.associatednetworkid" | ||||
|                   showSearch | ||||
|                   optionFilterProp="label" | ||||
|                   :filterOption="(input, option) => { | ||||
| @ -738,8 +738,8 @@ export default { | ||||
|         if (data.vlan && String(data.vlan).length > 0) { | ||||
|           params.vlan = data.vlan | ||||
|         } | ||||
|         if (data.associatednetwork) { | ||||
|           params.associatednetworkid = data.associatednetwork | ||||
|         if (data.associatednetworkid) { | ||||
|           params.associatednetworkid = data.associatednetworkid | ||||
|         } | ||||
| 
 | ||||
|         api('createPrivateGateway', params).then(response => { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user