Skip to content

Commit

Permalink
fix(netflix): Fix the issue submitted modal to show proper links
Browse files Browse the repository at this point in the history
  • Loading branch information
jrsquared committed Mar 7, 2017
1 parent 1907b32 commit 2db6dd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -83,8 +83,8 @@ class FeedbackModalController implements ng.IComponentController {
this.$http.post(this.settings.feedbackUrl, this.buildRequestBody())
.then((result: any) => {
this.state = this.states.SUBMITTED;
this.issueUrl = result.url;
this.issueId = result.id;
this.issueUrl = result.data.url;
this.issueId = result.data.id;
},
() => {
this.state = this.states.ERROR;
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/modules/netflix/feedback/feedback.modal.html
Expand Up @@ -52,7 +52,7 @@ <h3>Something went horribly wrong.</h3>
<div ng-if="ctrl.state === ctrl.states.SUBMITTED">
<h3>Thanks for your feedback!</h3>
<p>
You can follow the progress of your issue <span ng-if="ctrl.issueId">({{issueId}})</span> <a target=_blank href="{{ctrl.issueUrl}}">here</a> .
You can follow the progress of your issue <span ng-if="ctrl.issueId">({{ctrl.issueId}})</span> <a target=_blank href="{{ctrl.issueUrl}}">here</a> .
</p>
</div>
</div>
Expand Down

0 comments on commit 2db6dd7

Please sign in to comment.