@trafilea/afrodita-components 6.54.9 → 6.54.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3131,6 +3131,12 @@ var formatPrice = function (value, _a) {
3131
3131
  var resultOverridden = "S$".concat(onlyValue);
3132
3132
  return resultOverridden;
3133
3133
  }
3134
+ if (['DKK', 'NOK', 'SEK'].includes(currency)) {
3135
+ // intlFormat does not support Denmark, Norway and Sweden currency
3136
+ var onlyValue = result.slice(result.indexOf(currency) + 4);
3137
+ var resultOverridden = "kr".concat(onlyValue);
3138
+ return resultOverridden;
3139
+ }
3134
3140
  return result;
3135
3141
  };
3136
3142