Fix undefined ref

This commit is contained in:
Bryan Ashby 2022-08-12 19:50:41 -06:00
parent 8552e2dd35
commit 1d14b187c2
No known key found for this signature in database
GPG Key ID: C2C1B501E4EFD994
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ ViewController.prototype.loadFromPromptConfig = function (options, cb) {
});
},
function applyViewConfiguration(callback) {
if (_.isObject(promptConfig.mci)) {
if (promptConfig && _.isObject(promptConfig.mci)) {
self.applyViewConfig(promptConfig, function configApplied(err, info) {
initialFocusId = info.initialFocusId;
callback(err);