keevo-components 1.5.128 → 1.5.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2375,7 +2375,7 @@ class MenuComponent {
|
|
|
2375
2375
|
this.visibleDialogLicenca = false;
|
|
2376
2376
|
}
|
|
2377
2377
|
ngOnInit() {
|
|
2378
|
-
|
|
2378
|
+
this.configurarLicencas();
|
|
2379
2379
|
if (this.breadCrumbs) {
|
|
2380
2380
|
this.router.events.subscribe(event => {
|
|
2381
2381
|
if (event instanceof NavigationEnd) {
|
|
@@ -2387,7 +2387,7 @@ class MenuComponent {
|
|
|
2387
2387
|
this.widthCard = Number(window.innerWidth) - (this.expandMenu ? 333 : 93);
|
|
2388
2388
|
}
|
|
2389
2389
|
configurarLicencas() {
|
|
2390
|
-
this.setLicenca();
|
|
2390
|
+
setTimeout(() => this.setLicenca(), 1500);
|
|
2391
2391
|
this.licencas.forEach((x, i) => {
|
|
2392
2392
|
this.licencasOptions.push({
|
|
2393
2393
|
id: i,
|
|
@@ -2471,6 +2471,9 @@ class MenuComponent {
|
|
|
2471
2471
|
this.licencaSelecionada = licenca;
|
|
2472
2472
|
this.visibleDialogLicenca = false;
|
|
2473
2473
|
this.licencaChange.emit(this.licencaSelecionada);
|
|
2474
|
+
console.log(this.licencaSelecionada, 'licenca');
|
|
2475
|
+
console.log(this.menuCompleto, 'menu completao');
|
|
2476
|
+
console.log(this.menuCompleto[0]?.sistema.idsistema, 'sistema especifico');
|
|
2474
2477
|
this.definirMenusPorSistema(this.menuCompleto[0]?.sistema.idsistema);
|
|
2475
2478
|
}
|
|
2476
2479
|
gerenciarKeePass(event) {
|