fix(core): Bug fixes and UI enhancements
This commit is contained in:
@@ -59,6 +59,10 @@ export class IdpViewcontainer extends DeesElement {
|
||||
throw new Error('View container not found in the rendered DOM.');
|
||||
}
|
||||
|
||||
if (!this.currentElement) {
|
||||
this.currentElement = viewContainer.children[0] as any;
|
||||
}
|
||||
|
||||
// check if current element already is instance of viewElement
|
||||
if (this.currentElement instanceof viewElement) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user