Don't sort on app bundles
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
4b1ac3fef2
commit
0428254ed6
|
@ -109,6 +109,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
|
|||
var template = Handlebars.compile(source);
|
||||
|
||||
if (appList.length) {
|
||||
if(categoryId !== 'app-bundles') {
|
||||
appList.sort(function (a, b) {
|
||||
if (a.active !== b.active) {
|
||||
return (a.active ? -1 : 1)
|
||||
|
@ -120,6 +121,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
|
|||
return levelDiff;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
var firstExperimental = false;
|
||||
_.each(appList, function(app) {
|
||||
|
|
Loading…
Reference in New Issue