Fix bad blockchain offset after services -> dash
This commit is contained in:
parent
899b230760
commit
c7b89f31dd
@ -1,4 +1,4 @@
|
|||||||
import { Component, OnInit, Input, Output, EventEmitter, HostListener } from '@angular/core';
|
import { Component, OnInit, Input, Output, EventEmitter, HostListener, OnDestroy } from '@angular/core';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { ApiService } from '../../services/api.service';
|
import { ApiService } from '../../services/api.service';
|
||||||
import { MenuGroup } from '../../interfaces/services.interface';
|
import { MenuGroup } from '../../interfaces/services.interface';
|
||||||
@ -12,7 +12,7 @@ import { StateService } from '../../services/state.service';
|
|||||||
styleUrls: ['./menu.component.scss']
|
styleUrls: ['./menu.component.scss']
|
||||||
})
|
})
|
||||||
|
|
||||||
export class MenuComponent implements OnInit {
|
export class MenuComponent implements OnInit, OnDestroy {
|
||||||
@Input() navOpen: boolean = false;
|
@Input() navOpen: boolean = false;
|
||||||
@Output() loggedOut = new EventEmitter<boolean>();
|
@Output() loggedOut = new EventEmitter<boolean>();
|
||||||
@Output() menuToggled = new EventEmitter<boolean>();
|
@Output() menuToggled = new EventEmitter<boolean>();
|
||||||
@ -98,4 +98,8 @@ export class MenuComponent implements OnInit {
|
|||||||
this.toggleMenu(false);
|
this.toggleMenu(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ngOnDestroy(): void {
|
||||||
|
this.stateService.menuOpen$.next(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user