mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	Prepend currency code to selector label.
This commit is contained in:
		| @ -11,6 +11,7 @@ | ||||
|             v-model="settingData.currency" | ||||
|             :class="{'error': $v.settingData.currency.$error }" | ||||
|             :options="currencies" | ||||
|             :custom-label="currencyNameWithCode" | ||||
|             :searchable="true" | ||||
|             :show-labels="false" | ||||
|             :placeholder="$t('settings.currencies.select_currency')" | ||||
| @ -150,6 +151,9 @@ export default { | ||||
|     this.getOnboardingData() | ||||
|   }, | ||||
|   methods: { | ||||
|     currencyNameWithCode ({name, code}) { | ||||
|       return `${code} - ${name}` | ||||
|     }, | ||||
|     ...mapActions('auth', [ | ||||
|       'loginOnBoardingUser' | ||||
|     ]), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user