Skip to content

Commit fb54627

Browse files
committed
fix
1 parent ad0a35d commit fb54627

File tree

1 file changed

+2
-0
lines changed
  • services/static-webserver/client/source/class/osparc/utils

1 file changed

+2
-0
lines changed

services/static-webserver/client/source/class/osparc/utils/Utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ qx.Class.define("osparc.utils.Utils", {
9292
FLOATING_Z_INDEX: 110000,
9393

9494
replaceTokens: function(str, key, value) {
95+
// `str` might be a a localized string, get the string first
96+
str = str.toString ? str.toString() : str;
9597
return str.replaceAll("${"+key+"}", value);
9698
},
9799

0 commit comments

Comments
 (0)