From 8911a5ec494f7b58ef5f0c6024097930b48e0b95 Mon Sep 17 00:00:00 2001 From: Jaden Diefenbaugh <blakcap@users.noreply.github.com> Date: Thu, 9 Mar 2017 15:56:51 +0100 Subject: [PATCH] dont show exps table header if no exps in group --- .../static/reports/app/directives/groupPanelExperiments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beat/web/reports/static/reports/app/directives/groupPanelExperiments.js b/beat/web/reports/static/reports/app/directives/groupPanelExperiments.js index bb3197b56..9ef23e626 100644 --- a/beat/web/reports/static/reports/app/directives/groupPanelExperiments.js +++ b/beat/web/reports/static/reports/app/directives/groupPanelExperiments.js @@ -79,7 +79,7 @@ angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService', role="tabpanel" aria-labelledby="{{group.name}}-explist-heading"> <div class="panel-body"> - <table class="table table-striped table-hover"> + <table ng-if='group.experiments.length > 0' class="table table-striped table-hover"> <thead> <tr> <th></th> -- GitLab