iptdevs-design-system 3.1.120 → 3.1.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/cod/modal-referred/modal-referred.component.mjs +24 -15
- package/fesm2015/iptdevs-design-system.mjs +23 -14
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +23 -14
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4088,20 +4088,29 @@ class ModalReferredComponent {
|
|
|
4088
4088
|
token: this.baseService.getUserToken(),
|
|
4089
4089
|
param: form.value.searchUser,
|
|
4090
4090
|
};
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4091
|
+
if (form) {
|
|
4092
|
+
this.userService.getStudent(request).subscribe((response) => {
|
|
4093
|
+
if (response.data == null) {
|
|
4094
|
+
this.userExists = false;
|
|
4095
|
+
Swal.fire({
|
|
4096
|
+
title: 'Oops...',
|
|
4097
|
+
text: 'No hay usuarios con los parámetros ingresados',
|
|
4098
|
+
icon: 'error',
|
|
4099
|
+
});
|
|
4100
|
+
}
|
|
4101
|
+
else {
|
|
4102
|
+
this.userExists = true;
|
|
4103
|
+
this.allUsers = response.data;
|
|
4104
|
+
}
|
|
4105
|
+
});
|
|
4106
|
+
}
|
|
4107
|
+
else {
|
|
4108
|
+
Swal.fire({
|
|
4109
|
+
title: 'Oops...',
|
|
4110
|
+
text: 'Debe digitar un parámetro para realizar la búsqueda',
|
|
4111
|
+
icon: 'info',
|
|
4112
|
+
});
|
|
4113
|
+
}
|
|
4105
4114
|
}
|
|
4106
4115
|
}
|
|
4107
4116
|
ModalReferredComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ModalReferredComponent, deps: [{ token: i1$1.FormBuilder }, { token: BaseService }, { token: UserService }], target: i0.ɵɵFactoryTarget.Component });
|