mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-30 16:58:41 +00:00 
			
		
		
		
	add-address sub-component key
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| <template> | ||||
|    <add-address | ||||
|       v-bind:key="context.entity.name" | ||||
|       v-bind:key="key" | ||||
|       v-bind:context="context" | ||||
|       v-bind:options="options" | ||||
|       v-bind:addressChanged="submitAddress" | ||||
| @@ -25,7 +25,12 @@ export default { | ||||
|       }, | ||||
|       options() { | ||||
|          return this.addAddress.options; | ||||
|       }, | ||||
|       key() { | ||||
|          return (this.context.edit) ? 'address_' + this.context.addressId | ||||
|             : this.context.entity.name + '_' + this.context.entity.id ; | ||||
|       } | ||||
|  | ||||
|    }, | ||||
|    mounted() { | ||||
|       console.log('AddAddress: data context', this.context); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user