fix(core): update
This commit is contained in:
parent
7971f48963
commit
79d2be98c5
@ -1,7 +1,7 @@
|
|||||||
import { WccDashboard } from './elements/wcc-dashboard';
|
import { WccDashboard } from './elements/wcc-dashboard';
|
||||||
import { LitElement, TemplateResult } from 'lit-element';
|
import { LitElement, TemplateResult } from 'lit-element';
|
||||||
|
|
||||||
const setupWccTools = (elementsArg?: { [key: string]: LitElement }, pagesArg?: { [key: string]: TemplateResult }) => {
|
const setupWccTools = (elementsArg?: { [key: string]: LitElement }, pagesArg?: { [key: string]: () => TemplateResult }) => {
|
||||||
let hasRun = false;
|
let hasRun = false;
|
||||||
const runWccToolsSetup = async () => {
|
const runWccToolsSetup = async () => {
|
||||||
if (document.readyState === 'complete' && !hasRun) {
|
if (document.readyState === 'complete' && !hasRun) {
|
||||||
|
Loading…
Reference in New Issue
Block a user