From bf07906515cce6751e83a30a4176a4f151194fd6 Mon Sep 17 00:00:00 2001
From: Odei Maiz <33152403+odeimaiz@users.noreply.github.com>
Date: Tue, 10 Dec 2024 15:47:57 +0100
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20[Frontend]=20Fix:=20e2e-portal's?=
=?UTF-8?q?=20browser=20doesn't=20support=20``replaceAll``=20(#6932)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../client/source/class/osparc/widget/logger/LoggerModel.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/static-webserver/client/source/class/osparc/widget/logger/LoggerModel.js b/services/static-webserver/client/source/class/osparc/widget/logger/LoggerModel.js
index a6110b2714c..9cb8b2249de 100644
--- a/services/static-webserver/client/source/class/osparc/widget/logger/LoggerModel.js
+++ b/services/static-webserver/client/source/class/osparc/widget/logger/LoggerModel.js
@@ -113,7 +113,7 @@ qx.Class.define("osparc.widget.logger.LoggerModel", {
newRow["level"] = this.self().getLevelIcon(newRow.logLevel);
newRow["time"] = osparc.utils.Utils.formatTime(newRow.timeStamp, true);
newRow["who"] = newRow.label;
- newRow["msgRich"] = newRow.msg.replaceAll("\n", "
");
+ newRow["msgRich"] = newRow.msg.replace(/\n/g, "
");
this.__rawData.push(newRow);
});
},