diff --git a/ui-ngx/package-lock.json b/ui-ngx/package-lock.json index 611439194e..79b698fd47 100644 --- a/ui-ngx/package-lock.json +++ b/ui-ngx/package-lock.json @@ -7730,9 +7730,9 @@ "integrity": "sha1-RGf0n5jRv9VpWb2cZwUgPdJgEnc=" }, "leaflet.gridlayer.googlemutant": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/leaflet.gridlayer.googlemutant/-/leaflet.gridlayer.googlemutant-0.9.0.tgz", - "integrity": "sha512-hkLEHLcdcCaq1OKgUla5ar6fCaUK6yBYIY9HyAclPcMwhnpJTnLmYYPbVJbq3Niz0YiO75gls4A6D6jkBJXpuw==" + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/leaflet.gridlayer.googlemutant/-/leaflet.gridlayer.googlemutant-0.8.0.tgz", + "integrity": "sha512-Ain+jgDKRhlM6qNDDj2QFJa9vXUqV096N0PmpHO3DoNLS4I7EynTQCJXN+9qY4C51ZpV4Q4CI+apNv5XiP5aUA==" }, "leaflet.markercluster": { "version": "1.4.1", diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 8a25206c32..3f8895a9ad 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -61,7 +61,7 @@ "leaflet-geometryutil": "^0.9.3", "leaflet-polylinedecorator": "^1.6.0", "leaflet-providers": "^1.9.1", - "leaflet.gridlayer.googlemutant": "^0.9.0", + "leaflet.gridlayer.googlemutant": "^0.8.0", "leaflet.markercluster": "^1.4.1", "material-design-icons": "^3.0.1", "messageformat": "^2.3.0", diff --git a/ui-ngx/src/app/core/utils.ts b/ui-ngx/src/app/core/utils.ts index b0ab617a42..ea3682f72e 100644 --- a/ui-ngx/src/app/core/utils.ts +++ b/ui-ngx/src/app/core/utils.ts @@ -539,7 +539,9 @@ export function parseTemplate(template: string, data: object, translateFn?: (key } const expressions = template.match(/\{(.*?)\}/g); if (expressions) { - const clearMatches = template.match(/(?<=\{)(.+?)(?=(\}|\:))/g); + // TODO: not supported in IE + // const clearMatches = template.match(/(?<=\{)(.+?)(?=(\}|\:))/g); + const clearMatches = template.match(/\{(.+?)(\}|\:)/g); for (const key in data) { if (!key.includes('|')) variables += `let ${key} = '${clearMatches[key] ? padValue(data[key], +clearMatches[key]) : data[key]}';`; diff --git a/ui-ngx/src/browserslist b/ui-ngx/src/browserslist index 37371cb04b..b744b0a114 100644 --- a/ui-ngx/src/browserslist +++ b/ui-ngx/src/browserslist @@ -8,4 +8,4 @@ last 2 versions Firefox ESR not dead -not IE 9-11 \ No newline at end of file +IE 10-11