mirror of
https://github.com/MikroWizard/mikrofront.git
synced 2025-12-08 02:59:29 +00:00
code cleanup and some small fixes
This commit is contained in:
parent
c656a1be58
commit
b4c9bc4557
5 changed files with 13 additions and 16 deletions
|
|
@ -5,19 +5,6 @@ import { loginChecker } from "../../providers/login_checker";
|
|||
import { Router } from "@angular/router";
|
||||
import { formatInTimeZone } from "date-fns-tz";
|
||||
|
||||
interface IUser {
|
||||
name: string;
|
||||
state: string;
|
||||
registered: string;
|
||||
country: string;
|
||||
usage: number;
|
||||
period: string;
|
||||
payment: string;
|
||||
activity: string;
|
||||
avatar: string;
|
||||
status: string;
|
||||
color: string;
|
||||
}
|
||||
|
||||
@Component({
|
||||
templateUrl: "dashboard.component.html",
|
||||
|
|
@ -195,7 +182,6 @@ export class DashboardComponent implements OnInit {
|
|||
initStats() {
|
||||
var _self = this;
|
||||
this.data_provider.dashboard_stats(true).then((res) => {
|
||||
console.dir(res);
|
||||
_self.stats = res;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue