mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add notification message
This commit is contained in:
@@ -151,7 +151,12 @@ export class ForwardPage implements OnInit {
|
||||
this.goBack();
|
||||
},
|
||||
(error)=>{
|
||||
this.toastService._badRequest("Processo não delegado")
|
||||
if(error.status == 0) {
|
||||
this.toastService._badRequest('sem conexão ao servidor')
|
||||
} else {
|
||||
|
||||
this.toastService._badRequest("Processo não delegado")
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user