Add 2 more conditions for juju setup while launching the instances

Change-Id: I03543ab08db69991db6c6cb98fe40c7c6f0c0fdf
This commit is contained in:
Kent Wu 2018-09-24 15:32:06 -07:00
parent 251057c65d
commit 7b8a28dcf7
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
// This check can be potentially made more restrictive to specifically
// check if policy_target is in the URL
if (launchContextService.launchContext.successUrl != '/dashboard/project/instances/' && launchContextService.launchContext.successUrl != '/dashboard/project/network_topology/') {
if (launchContextService.launchContext.successUrl != '/dashboard/project/instances/' && launchContextService.launchContext.successUrl != '/dashboard/project/network_topology/' && launchContextService.launchContext.successUrl != '/project/instances/' && launchContextService.launchContext.successUrl != '/project/network_topology/') {
// Finds and replaces the Network and Port wizard pages with
// the GBP wizard page
var networkIndex = -1;