Skip to content

Commit

Permalink
Closes-Bug: #1580542
Browse files Browse the repository at this point in the history
Fix:
1. Even if no Virtual Networks are there, based on template type "Auto
   Configured" will be populated in VN list.

Conflicts:
	webroot/config/services/instances/ui/js/views/svcInstGridView.js

Change-Id: I9fbdfa6e185bc2fd877d371048dd0e4788ff7d46
(cherry picked from commit 44c0972)
  • Loading branch information
biswajit-mandal committed May 13, 2016
1 parent 6505853 commit 96e2b8e
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -178,10 +178,10 @@ define([
sharedVNList =
svcInstUtils.virtNwListFormatter(sharedVNList, true);
window.allVNList = window.allVNList.concat(sharedVNList);
if (window.allVNList.length > 0) {
window.allVNList.unshift({'text':"Auto Configured",
'id':"autoConfigured"});
} else {
window.allVNList.unshift({'text':"Auto Configured",
'id':"autoConfigured"});
if (1 == window.allVNList.length) {
/* Only Auto Configured, so no VN */
window.allVNList.push({id: null,
text: "No Virtual Networks found"});
}
Expand Down

0 comments on commit 96e2b8e

Please sign in to comment.