mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
fix(category-picker): Sort categories displayed in picker
This commit is contained in:
parent
b160f6d181
commit
04f5d2968f
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export default class CategoryPickerPopover extends Component {
|
||||||
_registerObservables = (props = this.props) => {
|
_registerObservables = (props = this.props) => {
|
||||||
this._unregisterObservables()
|
this._unregisterObservables()
|
||||||
this.disposables = [
|
this.disposables = [
|
||||||
Categories.forAccount(props.account).subscribe(this._onCategoriesChanged),
|
Categories.forAccount(props.account).sort().subscribe(this._onCategoriesChanged),
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue