Cleanup, update changelog

This commit is contained in:
Toby Zerner 2015-09-18 13:01:31 +09:30
parent f4a4ed8b49
commit 1fc369c59e
2 changed files with 4 additions and 7 deletions

View File

@ -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))

View File

@ -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', {