Simplify Extension Categories (#2604)

This commit is contained in:
Charlie 2021-03-01 14:25:55 -08:00 committed by GitHub
parent 7fa22a131f
commit b7379bf91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View File

@ -10,14 +10,9 @@ export default class AdminApplication extends Application {
extensionData = new ExtensionData();
extensionCategories = {
discussion: 70,
moderation: 60,
feature: 50,
formatting: 40,
theme: 30,
authentication: 20,
feature: 30,
theme: 20,
language: 10,
other: 0,
};
history = {

View File

@ -15,9 +15,9 @@ export default function getCategorizedExtensions() {
extensions[category].push(extension);
} else {
extensions.other = extensions.other || [];
extensions.feature = extensions.feature || [];
extensions.other.push(extension);
extensions.feature.push(extension);
}
});