This commit is contained in:
tiago.kayaya
2021-07-05 12:00:13 +01:00
parent 87edd8a21f
commit e63dd20f3e
9 changed files with 105 additions and 80 deletions
@@ -95,7 +95,7 @@ export class DespachoPage implements OnInit {
goBack() {
if(this.task.Status == "Pending" && this.caller == 'gabinete-digital'){
if (window.innerWidth <= 800) {
if (window.innerWidth < 801) {
this.router.navigate(['/home/gabinete-digital/pendentes']);
}
else {
@@ -108,7 +108,7 @@ export class DespachoPage implements OnInit {
}
}
else{
if (window.innerWidth <= 800) {
if (window.innerWidth < 801) {
this.router.navigate(['/home/gabinete-digital/despachos']);
} else {
let navigationExtras: NavigationExtras = {