mirror of
https://github.com/flarum/core.git
synced 2025-07-17 06:41:21 +02:00
Simplify Extension Categories (#2604)
This commit is contained in:
@@ -10,14 +10,9 @@ export default class AdminApplication extends Application {
|
|||||||
extensionData = new ExtensionData();
|
extensionData = new ExtensionData();
|
||||||
|
|
||||||
extensionCategories = {
|
extensionCategories = {
|
||||||
discussion: 70,
|
feature: 30,
|
||||||
moderation: 60,
|
theme: 20,
|
||||||
feature: 50,
|
|
||||||
formatting: 40,
|
|
||||||
theme: 30,
|
|
||||||
authentication: 20,
|
|
||||||
language: 10,
|
language: 10,
|
||||||
other: 0,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
history = {
|
history = {
|
||||||
|
@@ -15,9 +15,9 @@ export default function getCategorizedExtensions() {
|
|||||||
|
|
||||||
extensions[category].push(extension);
|
extensions[category].push(extension);
|
||||||
} else {
|
} else {
|
||||||
extensions.other = extensions.other || [];
|
extensions.feature = extensions.feature || [];
|
||||||
|
|
||||||
extensions.other.push(extension);
|
extensions.feature.push(extension);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user