Retab full-layout.component
This commit is contained in:
parent
356a25fc36
commit
f92aaff2ff
1 changed files with 10 additions and 13 deletions
|
@ -8,10 +8,6 @@ import { Router } from '@angular/router';
|
||||||
providers: [ApiService]
|
providers: [ApiService]
|
||||||
})
|
})
|
||||||
export class FullLayoutComponent implements OnInit {
|
export class FullLayoutComponent implements OnInit {
|
||||||
customersThisMonth: any;
|
|
||||||
moneySpentThisMonth: any;
|
|
||||||
pointsTotal: any;
|
|
||||||
averageTransactionToday: any;
|
|
||||||
displayName: any;
|
displayName: any;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
@ -44,6 +40,7 @@ export class FullLayoutComponent implements OnInit {
|
||||||
.subscribe(
|
.subscribe(
|
||||||
result => {
|
result => {
|
||||||
console.log('Logged out!');
|
console.log('Logged out!');
|
||||||
|
// TODO Reload? srsly?
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Reference in a new issue