From 12beeffae0c4a684f029100c407c6d10566be663 Mon Sep 17 00:00:00 2001 From: Colin McLeod Date: Mon, 14 Sep 2015 10:45:06 -0700 Subject: [PATCH] Hack to component select. Closes #89 --- app/js/directives/directive-component-select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/directives/directive-component-select.js b/app/js/directives/directive-component-select.js index d0379b6d..400e9a7d 100755 --- a/app/js/directives/directive-component-select.js +++ b/app/js/directives/directive-component-select.js @@ -8,7 +8,7 @@ angular.module('app').directive('componentSelect', ['$translate', function($tran var o = opts[i]; var id = o.id || (o.class + o.rating); // Common components' ID is their class and rating - if (i > 0 && opts.length > 4 && o.class != prevClass && (o.rating != prevRating || o.mode)) { + if (i > 0 && opts.length > 3 && o.class != prevClass && (o.rating != prevRating || o.mode) && o.grp != 'pa') { list.push('
'); }