Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

UI updates: minor

Rich Turnera6996f6476cd
diff --git a/client/src/main/webapp/src/or-app/or-console.html b/client/src/main/webapp/src/or-app/or-console.html
index d10209546..2c62004da 100644
--- a/client/src/main/webapp/src/or-app/or-console.html
+++ b/client/src/main/webapp/src/or-app/or-console.html
@@ -123,6 +123,8 @@
ready() {
super.ready();
+ this.$.queryParams.paramsString = window.location.search.slice(1);
+ let queryParams = this.$.queryParams.paramsObject;
// If console query parameters set then they take precedence
if (queryParams.consoleName) {
diff --git a/ui/component/or-header/package.json b/ui/component/or-header/package.json
index 09907e2a6..7a56efbe0 100644
--- a/ui/component/or-header/package.json
+++ b/ui/component/or-header/package.json
@@ -11,8 +11,7 @@
"author": "OpenRemote",
"license": "AGPL-3.0-or-later",
"dependencies": {
- "lit-element": "^2.0.0-rc.2",
- "lit-html": "1.0.0-rc.2"
+ "lit-element": "^2.0.0-rc.2"
},
"devDependencies": {
"@polymer/decorators": "^3.0.0",
diff --git a/ui/component/or-header/src/or-header-style.ts b/ui/component/or-header/src/or-header-style.ts
index 423d533a3..b05facb3c 100644
--- a/ui/component/or-header/src/or-header-style.ts
+++ b/ui/component/or-header/src/or-header-style.ts
@@ -1,4 +1,4 @@
-import {html} from 'lit-html';
+import {html} from 'lit-element';
export const OrHeaderStyle = html`
<style>
or-header a, a:link, a:visited {
diff --git a/ui/yarn.lock b/ui/yarn.lock
index 7aab589d4..3997081ee 100644
--- a/ui/yarn.lock
+++ b/ui/yarn.lock
@@ -3807,16 +3807,16 @@ lit-element@^2.0.0-rc.2:
dependencies:
lit-html "^1.0.0-rc.2"
[email protected], lit-html@^1.0.0-rc.2:
- version "1.0.0-rc.2"
- resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.0.0-rc.2.tgz#b9c904520fe005d349aa737a86d83645d97d5a89"
- integrity sha512-4bq34lhVmwWly1zBXicOBJLOwaWfjOVbchEEmFnZLuztxjh5wRd2WqV0URX8Q47MQ7PaIjn/eXyTRKsYhSAeRw==
-
lit-html@^0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-0.12.0.tgz#d994420fda74744f9d4a79401b086de929643e6a"
integrity sha512-NyFgq8yTlGEjUFQOmNnK/kj+ZdDVJzTwsLunNSewGiOns7SjuJi6ymCCqzZZ81uW2VwEmliMbOlFZc9QmOJPLA==
+lit-html@^1.0.0-rc.2:
+ version "1.0.0-rc.2"
+ resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.0.0-rc.2.tgz#b9c904520fe005d349aa737a86d83645d97d5a89"
+ integrity sha512-4bq34lhVmwWly1zBXicOBJLOwaWfjOVbchEEmFnZLuztxjh5wRd2WqV0URX8Q47MQ7PaIjn/eXyTRKsYhSAeRw==
+
loader-runner@^2.3.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.1.tgz#026f12fe7c3115992896ac02ba022ba92971b979"