mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Add validation for mobile
This commit is contained in:
@@ -199,7 +199,7 @@ export class CreateProcessPage implements OnInit {
|
|||||||
this.dispatchFolder.SubjectTypes = this.selectedTypes;
|
this.dispatchFolder.SubjectTypes = this.selectedTypes;
|
||||||
switch (this.loggeduser.Profile) {
|
switch (this.loggeduser.Profile) {
|
||||||
case 'MDGPR':
|
case 'MDGPR':
|
||||||
if(this.taskParticipants.length > 0) {
|
|
||||||
switch (this.taskType) {
|
switch (this.taskType) {
|
||||||
case '0':
|
case '0':
|
||||||
this.postData = {
|
this.postData = {
|
||||||
@@ -261,10 +261,6 @@ export class CreateProcessPage implements OnInit {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
this.modalController.dismiss();
|
this.modalController.dismiss();
|
||||||
}
|
|
||||||
else {
|
|
||||||
this.toastService.badRequest('Lista de intervenientes vazia. Por favor, adicione 1 ou mais intervenientes.');
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user