Hack to component select. Closes #89

This commit is contained in:
Colin McLeod
2015-09-14 10:45:06 -07:00
parent 83ad7d9f6c
commit 12beeffae0

View File

@@ -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('<br/>');
}