asap-viewer 12.5.35 → 12.5.37

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,7 @@
14045
14045
  */
14046
14046
  function () {
14047
14047
  var _this = this;
14048
- this.goToRedirect();
14048
+ this.goToRedirect('save');
14049
14049
  this.loading = true;
14050
14050
  /** @type {?} */
14051
14051
  var form = { rating: this.score, comment: this.comment };
@@ -14096,18 +14096,21 @@
14096
14096
  * @return {?}
14097
14097
  */
14098
14098
  function () {
14099
- this.goToRedirect();
14100
- this.dialogRef.close('done');
14099
+ this.goToRedirect('onClose');
14101
14100
  };
14102
14101
  /**
14102
+ * @param {?} source
14103
14103
  * @return {?}
14104
14104
  */
14105
14105
  ModalStarRatingComponent.prototype.goToRedirect = /**
14106
+ * @param {?} source
14106
14107
  * @return {?}
14107
14108
  */
14108
- function () {
14109
+ function (source) {
14110
+ console.log("[goToRedirect]", source, this.data.redirect);
14109
14111
  if (this.data.redirect) {
14110
- this.router.navigate(['/' + this.data.redirect]);
14112
+ this.dialogRef.close('done');
14113
+ this.router.navigateByUrl(this.data.redirect);
14111
14114
  }
14112
14115
  };
14113
14116
  /**