mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
21 lines
584 B
TypeScript
21 lines
584 B
TypeScript
import { Component } from "@angular/core";
|
|
import { AdminApiService } from "../../shared/services/admin/admin-api.service";
|
|
import { FE_DimensionConfig } from "../../shared/models/admin_responses";
|
|
|
|
@Component({
|
|
templateUrl: "./home.component.html",
|
|
styleUrls: ["./home.component.scss"],
|
|
})
|
|
export class AdminHomeComponent {
|
|
|
|
public isLoading = true;
|
|
public config: FE_DimensionConfig;
|
|
|
|
constructor(adminApi: AdminApiService) {
|
|
adminApi.getConfig().then(config => {
|
|
this.config = config;
|
|
this.isLoading = false;
|
|
});
|
|
}
|
|
}
|