Add dynamic loading of userLayout from localStorage
This commit is contained in:
parent
b4f95e5408
commit
58d6903ec5
3 changed files with 16 additions and 8 deletions
|
@ -535,7 +535,7 @@ export class ThemeGenerator extends UIElement {
|
|||
if (window.location.hostname === "127.0.0.1") {
|
||||
baseUrl = "http://127.0.0.1:1234";
|
||||
}
|
||||
this.url = base64.map((data) => baseUrl + `/index.html?test=true&userlayout=true#` + data);
|
||||
this.url = base64.map((data) => `${baseUrl}/index.html?test=true&userlayout=${this.themeObject.data.name}#${data}`);
|
||||
const self = this;
|
||||
|
||||
pingThemeObject = () => {self.themeObject.ping()};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue