fix(ie): classList does not support variadic (#19460)

This commit is contained in:
Manu MA
2019-09-27 13:12:06 +02:00
committed by GitHub
parent a28e501272
commit b4d92c6241
7 changed files with 29 additions and 23 deletions

View File

@ -48,7 +48,7 @@ export class Tab implements ComponentInterface {
this.active = true;
}
private async prepareLazyLoaded(): Promise<HTMLElement | undefined> {
private prepareLazyLoaded(): Promise<HTMLElement | undefined> {
if (!this.loaded && this.component != null) {
this.loaded = true;
try {
@ -57,7 +57,7 @@ export class Tab implements ComponentInterface {
console.error(e);
}
}
return undefined;
return Promise.resolve(undefined);
}
render() {