diff --git a/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/templates/data_processing.nodegroup_templates/nodegroup_templates.html b/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/templates/data_processing.nodegroup_templates/nodegroup_templates.html index df13e18b91..7cdc0496f1 100644 --- a/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/templates/data_processing.nodegroup_templates/nodegroup_templates.html +++ b/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/templates/data_processing.nodegroup_templates/nodegroup_templates.html @@ -12,7 +12,7 @@ addHorizonLoadEvent(function () { function get_service_tab(service) { return $("a").filter(function (idx, e) { - return $(e).attr("data-target") && $(e).attr("data-target").indexOf(service.toLowerCase()) != -1 + return $(e).attr("data-target") && $(e).attr("data-target").indexOf('_'+service.toLowerCase()+'-') != -1 }).closest("li"); }