fix(core): update
This commit is contained in:
@ -64,7 +64,11 @@ export class DomTools {
|
||||
bodyElement: null,
|
||||
};
|
||||
|
||||
public websetup: WebSetup;
|
||||
public websetup: WebSetup = new WebSetup({
|
||||
metaObject: {
|
||||
title: 'loading...'
|
||||
}
|
||||
});
|
||||
|
||||
public smartstate = new plugins.smartstate.Smartstate();
|
||||
public domToolsStatePart = this.smartstate.getStatePart<IDomToolsState>('domtools', {
|
||||
@ -145,7 +149,7 @@ export class DomTools {
|
||||
}
|
||||
|
||||
public async setWebsiteInfo(optionsArg: plugins.websetup.IWebSetupConstructorOptions) {
|
||||
this.websetup = new plugins.websetup.WebSetup(optionsArg);
|
||||
this.websetup.setup(optionsArg);
|
||||
await this.websetup.readyPromise;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user