Fix amount
This commit is contained in:
parent
81126a9d04
commit
5185c6ee3c
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@
|
||||||
// to both being in value. Don't want to use previous currency value.
|
// to both being in value. Don't want to use previous currency value.
|
||||||
// Try to extract currency from value..
|
// Try to extract currency from value..
|
||||||
var currencySplit = $scope.value.split(" ");
|
var currencySplit = $scope.value.split(" ");
|
||||||
if (currencySplit.length === 2) {
|
if (currencySplit.length === 2 && !$scope.currency) {
|
||||||
$scope.currency = currencySplit[1];
|
$scope.currency = currencySplit[1];
|
||||||
}
|
}
|
||||||
$scope.currency = $scope.currency || '';
|
$scope.currency = $scope.currency || '';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue