Browse Source

Add 2 more conditions for juju setup while launching the instances

Change-Id: I03543ab08db69991db6c6cb98fe40c7c6f0c0fdf
Kent Wu 7 months ago
parent
commit
7b8a28dcf7

+ 1
- 1
gbpui/static/dashboard/gbpui/group-member/group-member-launch-instance.patcher.js View File

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

Loading…
Cancel
Save