mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
remove unused imports
This commit is contained in:
@@ -11,6 +11,7 @@ import { OfflineManagerService } from 'src/app/services/offline-manager.service'
|
||||
import { catchError } from "rxjs/operators";
|
||||
import { Storage } from '@ionic/storage';
|
||||
import { BackgroundService } from 'src/app/services/background.service';
|
||||
import { SessionStore } from '../store/session.service';
|
||||
|
||||
|
||||
@Injectable({
|
||||
@@ -71,7 +72,7 @@ export class EventsService {
|
||||
private storage: Storage,
|
||||
private backgroundservice: BackgroundService) {
|
||||
|
||||
this.loggeduser = this.user.ValidatedUser;
|
||||
this.loggeduser = SessionStore.user;
|
||||
|
||||
this.headers = new HttpHeaders();
|
||||
this.headersMdOficial = new HttpHeaders();
|
||||
@@ -93,7 +94,7 @@ export class EventsService {
|
||||
|
||||
this.setHeader()
|
||||
this.changeProfileService.registerCallback(() => {
|
||||
this.loggeduser = this.user.ValidatedUser;
|
||||
this.loggeduser = SessionStore.user;
|
||||
this.setHeader()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user