mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix box sixing
This commit is contained in:
+6
-2
@@ -12,6 +12,7 @@ import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
|
||||
import { ToastService } from 'src/app/services/toast.service';
|
||||
import { ThemeService } from 'src/app/services/theme.service'
|
||||
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
||||
import { TaskService } from 'src/app/services/task.service'
|
||||
|
||||
@Component({
|
||||
selector: 'app-approve-event-modal',
|
||||
@@ -42,7 +43,8 @@ export class ApproveEventModalPage implements OnInit {
|
||||
private iab: InAppBrowser,
|
||||
private toastService: ToastService,
|
||||
public ThemeService: ThemeService,
|
||||
private httpErrorHandle: HttpErrorHandle
|
||||
private httpErrorHandle: HttpErrorHandle,
|
||||
public TaskService: TaskService
|
||||
) {
|
||||
|
||||
|
||||
@@ -169,7 +171,9 @@ export class ApproveEventModalPage implements OnInit {
|
||||
event: ev,
|
||||
translucent: true
|
||||
});
|
||||
return await popover.present();
|
||||
return await popover.present().then(() =>{
|
||||
this.TaskService.loadEventosParaAprovacao()
|
||||
})
|
||||
}
|
||||
|
||||
openMenu() {
|
||||
|
||||
@@ -18,6 +18,8 @@ import { RouteService } from 'src/app/services/route.service';
|
||||
import { Storage } from '@ionic/storage';
|
||||
import config from 'capacitor.config';
|
||||
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
||||
import { TaskService } from 'src/app/services/task.service'
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'app-approve-event',
|
||||
@@ -60,7 +62,8 @@ export class ApproveEventPage implements OnInit {
|
||||
public ThemeService: ThemeService,
|
||||
private offlineManager: OfflineManagerService,
|
||||
private storage: Storage,
|
||||
private httpErrorHandle: HttpErrorHandle
|
||||
private httpErrorHandle: HttpErrorHandle,
|
||||
public TaskService: TaskService
|
||||
) {
|
||||
this.activatedRoute.paramMap.subscribe(params => {
|
||||
//
|
||||
@@ -259,7 +262,9 @@ export class ApproveEventPage implements OnInit {
|
||||
activityInstanceName: this.loadedEvent.activityInstanceName
|
||||
},
|
||||
});
|
||||
return await popover.present();
|
||||
return await popover.present().then(() => {
|
||||
this.TaskService.loadEventosParaAprovacao()
|
||||
})
|
||||
}
|
||||
|
||||
openMenu() {
|
||||
|
||||
Reference in New Issue
Block a user