mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 20:18:25 +02:00
Proper callback when missing MCI
This commit is contained in:
parent
74b03fe846
commit
308f09b291
1 changed files with 1 additions and 1 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue