This commit is contained in:
tiago.kayaya
2021-08-24 16:15:42 +01:00
parent cfdb8ea91e
commit 49f67ae5d1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<name>gabinete digital</name> <name>gabinete digital</name>
<description>An awesome Ionic/Cordova app.</description> <description>An awesome Ionic/Cordova app.</description>
<author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author> <author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>
<content original-src="index.html" src="http://localhost:8100" /> <content src="index.html" />
<access origin="*" /> <access origin="*" />
<allow-navigation href="http://*/*" /> <allow-navigation href="http://*/*" />
<allow-navigation href="https://*/*" /> <allow-navigation href="https://*/*" />
@@ -75,7 +75,7 @@ export class ExpedienteDetailPage implements OnInit {
ngOnInit() { ngOnInit() {
this.LoadTaskDetail(this.serialNumber); this.LoadTaskDetail(this.serialNumber);
} }
close() { close() {
@@ -387,7 +387,7 @@ export class ExpedienteDetailPage implements OnInit {
const loader = this.toastService.loading() const loader = this.toastService.loading()
try { try {
await this.processes.CompleteTask(body).toPromise(); await this.processes.CompleteTask(body).toPromise();
this.toastService.successMessage('Processo descartado'); //this.toastService.successMessage('Processo descartado');
this.goBack(); this.goBack();
} catch (error) { } catch (error) {
this.toastService.badRequest('Processo não descartado') this.toastService.badRequest('Processo não descartado')