mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add performance
This commit is contained in:
@@ -244,7 +244,7 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
|
|
||||||
const pathname = '/home/gabinete-digital'
|
const pathname = '/home/gabinete-digital'
|
||||||
this.router.events.forEach((event) => {
|
this.router.events.forEach((event) => {
|
||||||
if (event instanceof NavigationEnd && event.url.includes(pathname)) {
|
if (event instanceof NavigationEnd && event.url.includes(pathname) && !event.url.includes('/home/gabinete-digital/')) {
|
||||||
this.waitForDomService.selector({
|
this.waitForDomService.selector({
|
||||||
selector: 'app-gabinete-digital ion-content .aside-wrapper',
|
selector: 'app-gabinete-digital ion-content .aside-wrapper',
|
||||||
callback: () => {
|
callback: () => {
|
||||||
@@ -275,13 +275,22 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
functionTimer1 = null;
|
||||||
|
|
||||||
changeTab() {
|
changeTab() {
|
||||||
|
|
||||||
|
clearTimeout(this.functionTimer1);
|
||||||
|
|
||||||
|
this.functionTimer1 = setTimeout(() => {
|
||||||
|
|
||||||
const element = this.scroll.nativeElement
|
const element = this.scroll.nativeElement
|
||||||
if(element.scrollTop == 0 ) {
|
if(element.scrollTop == 0 ) {
|
||||||
this.refresh = true
|
this.refresh = true
|
||||||
} else {
|
} else {
|
||||||
this.refresh = false
|
this.refresh = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -388,8 +397,7 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
this.closeAllDesktopComponents();
|
this.closeAllDesktopComponents();
|
||||||
|
|
||||||
// console.log(this.router.url, this.router.url.includes('processes=true'))
|
// console.log(this.router.url, this.router.url.includes('processes=true'))
|
||||||
// alert('hello')
|
// alert('hello')s
|
||||||
console.log(this.router.url, this.router.url)
|
|
||||||
if (this.router.url.includes('processes=true')) {
|
if (this.router.url.includes('processes=true')) {
|
||||||
this.openAllProcessesPage();
|
this.openAllProcessesPage();
|
||||||
this.checkUser()
|
this.checkUser()
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
export let versionData = {
|
export let versionData = {
|
||||||
"shortSHA": "223eae1a8",
|
"shortSHA": "96684cd1c",
|
||||||
"SHA": "223eae1a835c1b1d890c78f7c8c876acf3082b57",
|
"SHA": "96684cd1c2a1dfb66f772771ff4fb587c08de954",
|
||||||
"branch": "feature/gabinete-search",
|
"branch": "feature/gabinete-search",
|
||||||
"lastCommitAuthor": "'Peter Maquiran'",
|
"lastCommitAuthor": "'Peter Maquiran'",
|
||||||
"lastCommitTime": "'Sun Jun 11 10:02:51 2023 +0100'",
|
"lastCommitTime": "'Sun Jun 11 12:21:07 2023 +0100'",
|
||||||
"lastCommitMessage": "add to igingore",
|
"lastCommitMessage": "fix update",
|
||||||
"lastCommitNumber": "4972",
|
"lastCommitNumber": "4973",
|
||||||
"change": "",
|
"change": "",
|
||||||
"changeStatus": "On branch feature/gabinete-search\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.ts",
|
"changeStatus": "On branch feature/gabinete-search\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.ts",
|
||||||
"changeAuthor": "peter.maquiran"
|
"changeAuthor": "peter.maquiran"
|
||||||
|
|||||||
Reference in New Issue
Block a user