@robotical/webapp-types 3.16.8 → 3.16.10

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.
@@ -568,7 +568,14 @@ var ApplicationManager = /** @class */ (function () {
568
568
  }
569
569
  return [2 /*return*/, raft];
570
570
  case 3:
571
- Logger.warn(SHOW_LOGS, TAG, "Failed to select RAFT with id: ".concat(ricToConnectTo._id));
571
+ if (selectResults.reason === 'unplugged') {
572
+ modalState.closeModalWithoutAnimation();
573
+ secondaryModalState.closeModalWithoutAnimation();
574
+ modalState.setModal(createElement(InUnpluggedModalContent), i18n.t("calibration_screen.colour_calibration.unplugged_modal_title"));
575
+ }
576
+ else {
577
+ Logger.warn(SHOW_LOGS, TAG, "Failed to select RAFT with id: ".concat(ricToConnectTo._id));
578
+ }
572
579
  _c.label = 4;
573
580
  case 4: return [2 /*return*/, null];
574
581
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotical/webapp-types",
3
- "version": "3.16.8",
3
+ "version": "3.16.10",
4
4
  "description": "Type definitions for the Application Manager",
5
5
  "main": "dist/application-manager.d.ts",
6
6
  "types": "dist/application-manager.d.ts",