Skip to content

Commit

Permalink
[VBV-2065] Navigating back to the containers view
Browse files Browse the repository at this point in the history
- Fixed the navigation to the containers view if that was the last
visited view no matter whether the container is composite or not

Change-Id: Ia198d1f76fc612254e58763b4637ba69dfd4c9b8
Reviewed-on: https://bellevue-ci.eng.vmware.com:8080/37842
Closures-Verified: jenkins <[email protected]>
Upgrade-Verified: jenkins <[email protected]>
Bellevue-Verified: jenkins <[email protected]>
CS-Verified: jenkins <[email protected]>
Reviewed-by: Iveta Ilieva <[email protected]>
  • Loading branch information
AleksandrovaP committed Jul 9, 2018
1 parent c8b04e0 commit 46eed09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/src/js/components/containers/ContainersView.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ var ContainersViewVueComponent = Vue.extend({

if (fromViewName === 'container-details' || isFromAppDetails) {
let queryOptions = this.queryOptions;
if (this.model.selectedItemDetails.templateLink) {
if (this.model.selectedItemDetails.templateLink && isFromAppDetails) {
var compositeLink = this.model.selectedItemDetails.instance.compositeComponentLink;
var compositeId = compositeLink.substring(compositeLink.lastIndexOf('/') + 1);
NavigationActions.openCompositeContainerDetails(compositeId);
Expand Down

0 comments on commit 46eed09

Please sign in to comment.