asap-viewer 12.5.36 → 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();
14099
+ this.goToRedirect('onClose');
14100
14100
  };
14101
14101
  /**
14102
+ * @param {?} source
14102
14103
  * @return {?}
14103
14104
  */
14104
14105
  ModalStarRatingComponent.prototype.goToRedirect = /**
14106
+ * @param {?} source
14105
14107
  * @return {?}
14106
14108
  */
14107
- function () {
14109
+ function (source) {
14110
+ console.log("[goToRedirect]", source, this.data.redirect);
14108
14111
  if (this.data.redirect) {
14109
14112
  this.dialogRef.close('done');
14110
- this.router.navigate(['/' + this.data.redirect]);
14113
+ this.router.navigateByUrl(this.data.redirect);
14111
14114
  }
14112
14115
  };
14113
14116
  /**