mirror of
https://github.com/flarum/core.git
synced 2025-07-20 16:21:18 +02:00
Fix extension settings
This commit is contained in:
@@ -68,11 +68,11 @@ export default class ExtensionsPage extends Component {
|
|||||||
Installed in: {name}
|
Installed in: {name}
|
||||||
</span>);
|
</span>);
|
||||||
|
|
||||||
if (app.extensionSettings[extension.name]) {
|
if (app.extensionSettings[name]) {
|
||||||
items.add('settings', Button.component({
|
items.add('settings', Button.component({
|
||||||
icon: 'cog',
|
icon: 'cog',
|
||||||
children: 'Settings',
|
children: 'Settings',
|
||||||
onclick: app.extensionSettings[extension.name]
|
onclick: app.extensionSettings[name]
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user