This commit is contained in:
Eudes Inácio
2021-08-20 16:44:43 +01:00
26 changed files with 180 additions and 135 deletions
@@ -30,7 +30,7 @@
margin: 0 auto !important;
margin-bottom: 10px;
}
@media only screen and (min-width: 1024px) {
@media only screen and (min-width: 701px) {
.arrow-right{
display: flex;
justify-content: flex-end;
@@ -46,7 +46,7 @@ export class ChatOptionsFeaturesPage implements OnInit {
}
close(){
if( window.innerWidth <= 1024){
if( window.innerWidth < 701){
this.popoverController.dismiss();
}
else{
+8 -1
View File
@@ -76,7 +76,7 @@ export class DelegarPage implements OnInit {
}
close() {
this.modalController.dismiss(null);
this.modalController.dismiss('close');
}
cancelTask() {
@@ -100,13 +100,20 @@ export class DelegarPage implements OnInit {
"DelegatedUserEmail": this.taskParticipants[0].EmailAddress,
}
console.log(body);
const loader = this.toastService.loading()
this.processes.DelegateTask(body).subscribe(res=>{
console.log(res);
this.toastService.successMessage('Processo delegado')
this.close();
},
(error)=>{
this.toastService.badRequest("Processo não delegado")
},
()=>{
loader.remove()
});
}
}