Commit f3326b15 authored by Marcelo Rivera's avatar Marcelo Rivera

(fix): moved opened wire modal check to after the currentChannel loads

1 merge request!528WIP: (feat): Minds Pro
Pipeline #81821988 failed with stages
in 4 minutes and 37 seconds
......@@ -81,10 +81,6 @@ export class ProChannelComponent implements OnInit, AfterViewInit, OnDestroy {
this.modalService
.setContainer(this.overlayModal)
.setRoot(this.element.nativeElement);
if (this.sessionStorage.get('pro::wire-modal::open')) {
this.wire();
}
}
listen() {
......@@ -170,6 +166,10 @@ export class ProChannelComponent implements OnInit, AfterViewInit, OnDestroy {
this.channel = await this.channelService.load(this.username);
this.bindCssVariables();
this.setTitle();
if (this.sessionStorage.get('pro::wire-modal::open')) {
this.wire();
}
} catch (e) {
this.error = e.getMessage();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment