Skip to content

Commit

Permalink
chore: disable tour autostart
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Sep 14, 2023
1 parent 2b50cf3 commit 85bc94f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/picsa-apps/extension-app/src/app/pages/home/home.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,17 @@ export class HomePage implements OnDestroy, AfterViewInit {

ngOnDestroy(): void {
this.componentsService.patchHeader({ endContent: undefined });
this.userEventSubscription.unsubscribe();
// this.userEventSubscription.unsubscribe();
}

ngAfterViewInit() {
this.componentsService.patchHeader({
endContent: new DomPortal(this.headerContent),
});
this.userEventSubscription = this.communicationService.userEvent$.subscribe(() => {
// Trigger the guided tour when the prompt event occurs
this.startTour();
});
// this.userEventSubscription = this.communicationService.userEvent$.subscribe(() => {
// // Trigger the guided tour when the prompt event occurs
// this.startTour();
// });
}

public startTour() {
Expand Down

0 comments on commit 85bc94f

Please sign in to comment.