Proper callback when missing MCI

This commit is contained in:
Bryan Ashby 2018-11-12 22:05:49 -07:00
parent 74b03fe846
commit 308f09b291
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ exports.getModule = class MessageConfListModule extends MenuModule {
(next) => {
const confListView = this.viewControllers.confList.getView(MciViewIds.confList);
if(!confListView) {
return cb(Errors.MissingMci(`Missing conf list MCI ${MciViewIds.confList}`));
return next(Errors.MissingMci(`Missing conf list MCI ${MciViewIds.confList}`));
}
confListView.on('index update', idx => {