mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
Improve
This commit is contained in:
@@ -38,6 +38,8 @@ export class ExpedientePage implements OnInit {
|
|||||||
const location = window.location
|
const location = window.location
|
||||||
const pathname = location.pathname + location.search
|
const pathname = location.pathname + location.search
|
||||||
|
|
||||||
|
this.LoadList()
|
||||||
|
|
||||||
this.router.events.forEach((event) => {
|
this.router.events.forEach((event) => {
|
||||||
if (event instanceof NavigationStart && event.url.startsWith(pathname)) {
|
if (event instanceof NavigationStart && event.url.startsWith(pathname)) {
|
||||||
if(window.location.pathname.split('/').length >= 4 && window.location.pathname.startsWith('/home/gabinete-digital')) {
|
if(window.location.pathname.split('/').length >= 4 && window.location.pathname.startsWith('/home/gabinete-digital')) {
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ export class ExpedientesPrPage implements OnInit {
|
|||||||
const location = window.location
|
const location = window.location
|
||||||
const pathname = location.pathname + location.search
|
const pathname = location.pathname + location.search
|
||||||
|
|
||||||
|
this.LoadList()
|
||||||
|
|
||||||
this.router.events.forEach((event) => {
|
this.router.events.forEach((event) => {
|
||||||
if (event instanceof NavigationStart && event.url.startsWith(pathname)) {
|
if (event instanceof NavigationStart && event.url.startsWith(pathname)) {
|
||||||
if(window.location.pathname.split('/').length >= 4 && window.location.pathname.startsWith('/home/gabinete-digital')) {
|
if(window.location.pathname.split('/').length >= 4 && window.location.pathname.startsWith('/home/gabinete-digital')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user