mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
Persistent bug on console log solved
This commit is contained in:
@@ -16,5 +16,8 @@
|
|||||||
"sound"
|
"sound"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"server": {
|
||||||
|
"url": "http://192.168.137.1:8100"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -252,31 +252,32 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
//this.getFromDB();
|
//this.getFromDB();
|
||||||
|
|
||||||
const pathname = window.location.pathname
|
setTimeout(() =>{
|
||||||
let realoadCounter = 0
|
const pathname = window.location.pathname
|
||||||
this.router.events.forEach((event) => {
|
let realoadCounter = 0
|
||||||
if (event instanceof NavigationEnd && event.url == pathname) {
|
this.router.events.forEach((event) => {
|
||||||
if (this.segment == null) {
|
if (event instanceof NavigationEnd && event.url == pathname) {
|
||||||
this.segment = "Combinado";
|
if (this.segment == null) {
|
||||||
|
this.segment = "Combinado";
|
||||||
|
}
|
||||||
|
if (realoadCounter != 0) {
|
||||||
|
this.loadRangeEvents(this.rangeStartDate, this.rangeEndDate);
|
||||||
|
}
|
||||||
|
realoadCounter++;
|
||||||
}
|
}
|
||||||
if (realoadCounter != 0) {
|
});
|
||||||
this.loadRangeEvents(this.rangeStartDate, this.rangeEndDate);
|
|
||||||
|
this.backgroundservice.registerBackService('Online', () => {
|
||||||
|
//this.loadRangeEvents(this.rangeStartDate, this.rangeEndDate);
|
||||||
|
});
|
||||||
|
|
||||||
|
window.onresize = (event) => {
|
||||||
|
// if not table remove all component
|
||||||
|
if (window.innerWidth <= 1024) {
|
||||||
|
this.cloneAllmobileComponent();
|
||||||
}
|
}
|
||||||
realoadCounter++;
|
};
|
||||||
}
|
}, 1000)
|
||||||
});
|
|
||||||
|
|
||||||
this.backgroundservice.registerBackService('Online', () => {
|
|
||||||
//this.loadRangeEvents(this.rangeStartDate, this.rangeEndDate);
|
|
||||||
});
|
|
||||||
|
|
||||||
window.onresize = (event) => {
|
|
||||||
// if not table remove all component
|
|
||||||
if (window.innerWidth <= 1024) {
|
|
||||||
this.cloneAllmobileComponent();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Go to the next view of the calendar month/week/day
|
//Go to the next view of the calendar month/week/day
|
||||||
|
|||||||
@@ -68,9 +68,9 @@ export class HeaderPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
update() {
|
update() {
|
||||||
setInterval(() => {
|
/* setInterval(() => {
|
||||||
this.notificationLengthData();
|
this.notificationLengthData();
|
||||||
}, 5000)
|
}, 5000) */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,12 +21,12 @@
|
|||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/',
|
//apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/',
|
||||||
//apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V5/api/',
|
apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V5/api/',
|
||||||
apiChatUrl: 'https://gabinetedigitalchat.dyndns.info/api/v1/',
|
//apiChatUrl: 'https://gabinetedigitalchat.dyndns.info/api/v1/',
|
||||||
apiWsChatUrl: 'wss://gabinetedigitalchat.dyndns.info/websocket',
|
//apiWsChatUrl: 'wss://gabinetedigitalchat.dyndns.info/websocket',
|
||||||
//apiChatUrl: 'https://www.tabularium.pt/api/v1/',
|
apiChatUrl: 'https://www.tabularium.pt/api/v1/',
|
||||||
//apiWsChatUrl: 'wss://www.tabularium.pt/websocket',
|
apiWsChatUrl: 'wss://www.tabularium.pt/websocket',
|
||||||
domain: 'gabinetedigital.local', //gabinetedigital.local
|
domain: 'gabinetedigital.local', //gabinetedigital.local
|
||||||
defaultuser: 'paulo.pinto@gabinetedigital.local',//paulo.pinto paulo.pinto@gabinetedigital.local
|
defaultuser: 'paulo.pinto@gabinetedigital.local',//paulo.pinto paulo.pinto@gabinetedigital.local
|
||||||
defaultuserpwd: 'tabteste@006', //tabteste@006,
|
defaultuserpwd: 'tabteste@006', //tabteste@006,
|
||||||
|
|||||||
Reference in New Issue
Block a user