@microsoft/teams-js 2.0.0-beta.5-dev.8 → 2.0.0-beta.5-dev.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1121,7 +1121,7 @@ __webpack_require__.d(__webpack_exports__, {
1121
1121
  });
1122
1122
 
1123
1123
  ;// CONCATENATED MODULE: ./src/internal/constants.ts
1124
- var version = "2.0.0-beta.5-dev.8";
1124
+ var version = "2.0.0-beta.5-dev.9";
1125
1125
  /**
1126
1126
  * @hidden
1127
1127
  * The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
@@ -4425,7 +4425,7 @@ var dialog;
4425
4425
  function submit(result, appIds) {
4426
4426
  ensureInitialized(FrameContexts.content, FrameContexts.sidePanel, FrameContexts.task, FrameContexts.meetingStage);
4427
4427
  // Send tasks.completeTask instead of tasks.submitTask message for backward compatibility with Mobile clients
4428
- sendMessageToParent('tasks.completeTask', [result, Array.isArray(appIds) ? appIds : [appIds]]);
4428
+ sendMessageToParent('tasks.completeTask', [result, appIds ? (Array.isArray(appIds) ? appIds : [appIds]) : []]);
4429
4429
  }
4430
4430
  dialog.submit = submit;
4431
4431
  /**