mirror of
https://github.com/flarum/framework.git
synced 2025-04-02 07:01:13 +08:00
Cleanup, update changelog
This commit is contained in:
parent
f4a4ed8b49
commit
1fc369c59e
@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- External authentication (social login) API.
|
||||
- API to set asset compiler filename.
|
||||
- Migration generator, available via generate:migration console command.
|
||||
- Tags: Ability to set the tags page as the home page.
|
||||
|
||||
### Changed
|
||||
- Migrations must be namespaced under `Flarum\Migrations\{Core|ExtensionName}`. ([#422](https://github.com/flarum/core/issues/422))
|
||||
|
@ -7,9 +7,7 @@ import saveConfig from 'flarum/utils/saveConfig';
|
||||
import ItemList from 'flarum/utils/ItemList';
|
||||
|
||||
export default class BasicsPage extends Component {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
|
||||
init() {
|
||||
this.loading = false;
|
||||
|
||||
this.fields = [
|
||||
@ -110,9 +108,7 @@ export default class BasicsPage extends Component {
|
||||
}
|
||||
|
||||
changed() {
|
||||
const config = app.config;
|
||||
|
||||
return this.fields.some(key => this.values[key]() !== config[key]);
|
||||
return this.fields.some(key => this.values[key]() !== app.config[key]);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -122,7 +118,7 @@ export default class BasicsPage extends Component {
|
||||
* @return {ItemList}
|
||||
* @public
|
||||
*/
|
||||
homePageItems() {
|
||||
homePageItems() {
|
||||
const items = new ItemList();
|
||||
|
||||
items.add('allDiscussions', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user