From 8ca8e81fe7fab371ecf4a4b934bd9227378645f0 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Tue, 8 Jun 2021 14:46:42 +0200
Subject: [PATCH] Replace "replaceAll" with split/join for more browser
 compatibility

---
 packages/common/src/icon.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/common/src/icon.js b/packages/common/src/icon.js
index ad236979..965614dc 100644
--- a/packages/common/src/icon.js
+++ b/packages/common/src/icon.js
@@ -67,7 +67,7 @@ export class Icon extends LitElement {
 
     render() {
         const iconURL = getIconSVGURL(this.name);
-        const iconPart = this.name.trim().replaceAll(" ", "");
+        const iconPart = this.name.trim().split(' ').join('');
 
         return html`
             <style>
-- 
GitLab