mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45:35 +00:00
Hack to component select. Closes #89
This commit is contained in:
@@ -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/>');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user