iptdevs-design-system 3.1.310 → 3.1.311

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.
@@ -4726,7 +4726,7 @@ class CodFormComponent {
4726
4726
  this.userRole = this.baseService.getUserRole();
4727
4727
  }
4728
4728
  ngOnChanges(changes) {
4729
- if (changes['editCod']) {
4729
+ if (changes['editCod'] && this.dataFromPreviusCodData) {
4730
4730
  if (this.editCod) {
4731
4731
  if (!this.dataFromPreviusCodData.edit_course_payment) {
4732
4732
  Swal.fire({