asap-viewer 12.5.36 → 12.5.38

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.
@@ -14045,7 +14045,6 @@
14045
14045
  */
14046
14046
  function () {
14047
14047
  var _this = this;
14048
- this.goToRedirect();
14049
14048
  this.loading = true;
14050
14049
  /** @type {?} */
14051
14050
  var form = { rating: this.score, comment: this.comment };
@@ -14064,10 +14063,12 @@
14064
14063
  // this.showCertificateLink = false;
14065
14064
  _this.showContinueButtom = true;
14066
14065
  _this.dialogRef.close('done');
14066
+ _this.goToRedirect('save');
14067
14067
  }
14068
14068
  else {
14069
14069
  _this.showContinueButtom = true;
14070
14070
  _this.dialogRef.close('done');
14071
+ _this.goToRedirect('save');
14071
14072
  }
14072
14073
  }), (/**
14073
14074
  * @param {?} error
@@ -14080,6 +14081,7 @@
14080
14081
  else {
14081
14082
  _this.showContinueButtom = true;
14082
14083
  _this.dialogRef.close('done');
14084
+ _this.goToRedirect('save');
14083
14085
  }
14084
14086
  }), (/**
14085
14087
  * @param {?} error
@@ -14096,18 +14098,21 @@
14096
14098
  * @return {?}
14097
14099
  */
14098
14100
  function () {
14099
- this.goToRedirect();
14101
+ this.goToRedirect('onClose');
14100
14102
  };
14101
14103
  /**
14104
+ * @param {?} source
14102
14105
  * @return {?}
14103
14106
  */
14104
14107
  ModalStarRatingComponent.prototype.goToRedirect = /**
14108
+ * @param {?} source
14105
14109
  * @return {?}
14106
14110
  */
14107
- function () {
14111
+ function (source) {
14112
+ console.log("[goToRedirect]", source, this.data.redirect);
14108
14113
  if (this.data.redirect) {
14109
- this.dialogRef.close('done');
14110
- this.router.navigate(['/' + this.data.redirect]);
14114
+ // this.dialogRef.close('done');
14115
+ this.router.navigateByUrl(this.data.redirect);
14111
14116
  }
14112
14117
  };
14113
14118
  /**