Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: luis key not initialized #4870

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ const openRootBotAndSkills = async (callbackHelpers: CallbackInterface, data, st
const skills: { [skillId: string]: BotProjectSpaceSkill } = currentBotProjectFile.skills;

const totalProjectsCount = Object.keys(skills).length + 1;
if (totalProjectsCount > 0) {
if (totalProjectsCount > 1) {
for (const nameIdentifier in skills) {
const skill = skills[nameIdentifier];
let skillPromise;
Expand Down Expand Up @@ -615,6 +615,9 @@ const openRootBotAndSkills = async (callbackHelpers: CallbackInterface, data, st
});
}
}
} else {
//only contains rootBot
set(botProjectSpaceLoadedState, true);
}
} else {
// Should never hit here as all projects should have a botproject file
Expand Down