Skip to content

Commit

Permalink
Add missing condition for retrieving data on the provider topology pages
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Jan 10, 2018
1 parent 36a0514 commit fe7ae03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/services/topology_service.js
Expand Up @@ -278,7 +278,7 @@ ManageIQ.angular.app.service('topologyService', ['$location', '$http', 'miqServi
var url = '';
if ($location.absUrl().match('show/$') || $location.absUrl().match('show$')) {
url = controller.dataUrl;
} else if ($location.absUrl().match('show/[0-9]*\\?display=topology$') || $location.absUrl().match('show/[0-9]*\\?display=topology/$')) {
} else if ($location.absUrl().match('show/[0-9]*\\?display=topology/?$') || $location.absUrl().match('_topology/show/[0-9]+/?$')) {
id = '/' + (/\/show\/(\d+)/.exec($location.absUrl())[1]);
url = controller.detailUrl || controller.dataUrl;
url += id;
Expand Down

0 comments on commit fe7ae03

Please sign in to comment.