This commit is contained in:
tiago.kayaya
2021-07-07 08:39:54 +01:00
parent d433543b5c
commit c6c770f933
3 changed files with 19 additions and 12 deletions
@@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import { ProcessesService } from 'src/app/services/processes.service';
import { ActivatedRoute, NavigationExtras, Router } from '@angular/router';
import { ActivatedRoute, Router } from '@angular/router';
import { AnimationController, ModalController, NavParams, PopoverController } from '@ionic/angular';
import { CreateProcessPage } from 'src/app/modals/create-process/create-process.page';
import { DelegarPage } from 'src/app/modals/delegar/delegar.page';
@@ -26,9 +26,9 @@ export class DespachosOptionsPage implements OnInit {
private router: Router,
private modalController: ModalController,
public popoverController: PopoverController,
private animationController: AnimationController,
private navParams: NavParams,
private toastService: ToastService) {
private toastService: ToastService,
) {
this.task = this.navParams.get('task')
this.fulltask = this.navParams.get('fulltask')
}
@@ -45,7 +45,7 @@ export class DespachosOptionsPage implements OnInit {
let classs;
if( window.innerWidth <= 800){
classs = 'modal modal-desktop'
} else {
} else {
classs = 'modal modal-desktop showAsideOptions'
}
const modal = await this.modalController.create({