[update] remove unused components

This commit is contained in:
2023-10-11 23:43:44 +07:00
parent 6e979255ae
commit e7678c0e5e
237 changed files with 813 additions and 21083 deletions

View File

@@ -3,7 +3,6 @@ import { ActivatedRoute, Router } from '@angular/router';
import { AppService } from '../../app.service';
import { MENU } from "../../@config/menus";
import { lastValueFrom } from "rxjs";
import { API } from "../../@config/app";
import { environment } from 'src/environments/environment';
@Component({
@@ -41,9 +40,9 @@ export class PagesLayoutsComponent implements OnInit {
this.auth = this.app.auth();
if (!this.permissionCheck) {
const users = await lastValueFrom(this.app.get(`${API.users}/getById/${this.auth.id}`));
this.permission = users.permission;
this.permissionCheck = true;
// const users = await lastValueFrom(this.app.get(`${API.users}/getById/${this.auth.id}`));
// this.permission = users.permission;
// this.permissionCheck = true;
}
}