@atlaskit/smart-user-picker 12.5.0 → 12.5.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlassian/smart-user-picker
2
2
 
3
+ ## 12.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`544997ca17b4a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/544997ca17b4a) -
8
+ Keep current user-picker results when an earlier request fails.
9
+
3
10
  ## 12.5.0
4
11
 
5
12
  ### Minor Changes
@@ -358,7 +358,7 @@ var SmartUserPickerWithoutAnalytics = exports.SmartUserPickerWithoutAnalytics =
358
358
  case 15:
359
359
  _context.prev = 15;
360
360
  _t6 = _context["catch"](1);
361
- if (!(_this.state.query !== query && (0, _fg.fg)('smart-user-picker-fetch-error-fix'))) {
361
+ if (!(_this.state.query !== query)) {
362
362
  _context.next = 16;
363
363
  break;
364
364
  }
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.packageVersion = void 0;
7
- var packageVersion = exports.packageVersion = "12.4.0";
7
+ var packageVersion = exports.packageVersion = "12.5.0";
@@ -271,7 +271,7 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
271
271
  };
272
272
  });
273
273
  } catch (e) {
274
- if (this.state.query !== query && fg('smart-user-picker-fetch-error-fix')) {
274
+ if (this.state.query !== query) {
275
275
  // The query has moved on since this request was sent, so its results are not the ones
276
276
  // on screen. Applying the failure here would clear the options and fail the UFO
277
277
  // experience that belong to the newer query.
@@ -1 +1 @@
1
- export const packageVersion = "12.4.0";
1
+ export const packageVersion = "12.5.0";
@@ -352,7 +352,7 @@ export var SmartUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compo
352
352
  case 15:
353
353
  _context.prev = 15;
354
354
  _t6 = _context["catch"](1);
355
- if (!(_this.state.query !== query && fg('smart-user-picker-fetch-error-fix'))) {
355
+ if (!(_this.state.query !== query)) {
356
356
  _context.next = 16;
357
357
  break;
358
358
  }
@@ -1 +1 @@
1
- export var packageVersion = "12.4.0";
1
+ export var packageVersion = "12.5.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-user-picker",
3
- "version": "12.5.0",
3
+ "version": "12.5.1",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -66,9 +66,6 @@
66
66
  "react-intl": "^7.0.0"
67
67
  },
68
68
  "platform-feature-flags": {
69
- "smart-user-picker-fetch-error-fix": {
70
- "type": "boolean"
71
- },
72
69
  "smart-user-picker-load-options-gate": {
73
70
  "type": "boolean"
74
71
  },