Skip to content

Commit

Permalink
sorting mod list plugins now references plugin is_esm flag
Browse files Browse the repository at this point in the history
  • Loading branch information
matortheeternal committed Nov 16, 2016
1 parent 5fbbead commit 5d6358d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mod-picker/app/assets/javascripts/Services/sortUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ app.service('sortUtils', function($q, categoryService, colorsFactory, modListSer
groups[0].children.push(item);
}
// non-official ESMs go into the ESMs group
else if (handlingPlugins && plugin.filename.endsWith('.esm')) {
// TODO: Check ESM flag instead once we have it
else if (handlingPlugins && plugin.is_esm) {
groups[1].children.push(item);
}
// for everything else we create groups based on the primary category of the mod
Expand Down

0 comments on commit 5d6358d

Please sign in to comment.