Merge branch 'master' of https://codefirst.iut.uca.fr/git/SAE3A_MemoryMap/front
continuous-integration/drone/push Build is passing Details

master
Mathis FRAMIT 2 days ago
commit a8576a2501

@ -48,8 +48,8 @@ export class IntroService {
disableInteraction: true, disableInteraction: true,
}); });
intro.onstart(async (element) => { intro.onstart(async () => {
this.navbarService.toggleNavbar(); this.navbarService.onpenNavbar();
await this.sleep(100); await this.sleep(100);
}); });
@ -128,7 +128,7 @@ export class IntroService {
intro.oncomplete(() => { intro.oncomplete(() => {
this.modalService.closeModal('friend-modal'); this.modalService.closeModal('friend-modal');
this.navbarService.toggleNavbar(); this.navbarService.closeNavbar();
resolve(); resolve();
}); });

@ -18,4 +18,12 @@ export class NavbarService {
toggleNavbar(): void { toggleNavbar(): void {
this.isNavbarOpenSubject.next(!this.isNavbarOpenSubject.value); this.isNavbarOpenSubject.next(!this.isNavbarOpenSubject.value);
} }
onpenNavbar(): void {
this.isNavbarOpenSubject.next(true);
}
closeNavbar(): void {
this.isNavbarOpenSubject.next(false);
}
} }
Loading…
Cancel
Save