Skip to content

Commit

Permalink
[VBV-2105] Fix back button from Import Template
Browse files Browse the repository at this point in the history
Change-Id: I0fac03f476ec26d7124aa9f83493fcdbe9552a4f
Reviewed-on: https://bellevue-ci.eng.vmware.com:8080/42640
Upgrade-Verified: jenkins <[email protected]>
Closures-Verified: jenkins <[email protected]>
Reviewed-by: Iveta Ilieva <[email protected]>
PG-Verified: jenkins <[email protected]>
Bellevue-Verified: jenkins <[email protected]>
CS-Verified: jenkins <[email protected]>
  • Loading branch information
AleksandrovaP committed Aug 27, 2018
1 parent 175f39c commit a69bbeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/app/src/js/components/templates/TemplatesView.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ var TemplatesViewVueComponent = Vue.extend({
if (this.model.selectedItemDetails
&& this.model.selectedItemDetails.origin === 'applications') {
return this.backToApplications();
} else if (this.model.selectedItemDetails.origin) {
} else if ((this.model.selectedItemDetails && this.model.selectedItemDetails.origin)
|| this.model.importTemplate) {
return this.backToTemplate();
}

Expand Down

0 comments on commit a69bbeb

Please sign in to comment.