Skip to content

Commit

Permalink
fix: dismiss open bot loading screen (microsoft#5290)
Browse files Browse the repository at this point in the history
* fix: dismiss open bot loading screen

* minor

Co-authored-by: Soroush <hatpick@gmail.com>
  • Loading branch information
tdurnford and hatpick committed Dec 10, 2020
1 parent baa80e8 commit f085d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ export const projectDispatcher = () => {
if (navigate) {
navigateToBot(callbackHelpers, projectId, mainDialog);
}
set(botOpeningState, false);

if (typeof callback === 'function') {
callback(projectId);
Expand All @@ -256,6 +255,7 @@ export const projectDispatcher = () => {
removeRecentProject(callbackHelpers, path);
handleProjectFailure(callbackHelpers, ex);
navigateTo('/home');
} finally {
set(botOpeningState, false);
}
}
Expand Down
2 changes: 1 addition & 1 deletion Composer/packages/server/src/services/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if (instrumentationKey) {

// remove PII
for (const property of piiProperties) {
if (data.baseData.properties[property]) {
if (data.baseData.properties[property] !== undefined) {
delete data.baseData.properties[property];
}
}
Expand Down

0 comments on commit f085d22

Please sign in to comment.