@backstage/plugin-catalog-react 0.0.0-nightly-20221220022526 → 0.0.0-nightly-20221223022307

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,26 +1,53 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
- ## 0.0.0-nightly-20221220022526
3
+ ## 0.0.0-nightly-20221223022307
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - 37426f6f5e: Fixed bug in `EntityTagPicker` that filtered on unavailable tags for the selected kind.
8
+ - Updated dependencies
9
+ - @backstage/catalog-model@0.0.0-nightly-20221223022307
10
+ - @backstage/catalog-client@0.0.0-nightly-20221223022307
11
+ - @backstage/core-components@0.0.0-nightly-20221223022307
12
+ - @backstage/core-plugin-api@1.2.0
13
+ - @backstage/errors@1.1.4
14
+ - @backstage/integration@1.4.1
15
+ - @backstage/theme@0.2.16
16
+ - @backstage/types@1.0.2
17
+ - @backstage/version-bridge@1.0.3
18
+ - @backstage/plugin-catalog-common@0.0.0-nightly-20221223022307
19
+ - @backstage/plugin-permission-common@0.7.2
20
+ - @backstage/plugin-permission-react@0.4.8
21
+
22
+ ## 1.2.3
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+ - @backstage/core-components@0.12.2
28
+
29
+ ## 1.2.2
30
+
31
+ ### Patch Changes
32
+
33
+ - 2cb9998: Fixed bug in `EntityOwnerPicker` and `EntityLifecyclePicker` that filtered on unavailable tags for the selected kind.
7
34
  - 2e701b3796: Internal refactor to use `react-router-dom` rather than `react-router`.
8
35
  - 6ffa47bb0a: Cleanup and small fixes for the kind selector
9
36
  - 19356df560: Updated dependency `zen-observable` to `^0.9.0`.
10
37
  - c3fa90e184: Updated dependency `zen-observable` to `^0.10.0`.
11
38
  - Updated dependencies
12
- - @backstage/core-plugin-api@0.0.0-nightly-20221220022526
13
- - @backstage/catalog-client@0.0.0-nightly-20221220022526
14
- - @backstage/core-components@0.0.0-nightly-20221220022526
15
- - @backstage/version-bridge@0.0.0-nightly-20221220022526
16
- - @backstage/plugin-permission-common@0.0.0-nightly-20221220022526
17
- - @backstage/errors@0.0.0-nightly-20221220022526
18
- - @backstage/plugin-permission-react@0.0.0-nightly-20221220022526
19
- - @backstage/integration@0.0.0-nightly-20221220022526
20
- - @backstage/types@0.0.0-nightly-20221220022526
21
- - @backstage/catalog-model@0.0.0-nightly-20221220022526
39
+ - @backstage/core-plugin-api@1.2.0
40
+ - @backstage/catalog-client@1.2.0
41
+ - @backstage/core-components@0.12.1
42
+ - @backstage/version-bridge@1.0.3
43
+ - @backstage/plugin-permission-common@0.7.2
44
+ - @backstage/errors@1.1.4
45
+ - @backstage/plugin-permission-react@0.4.8
46
+ - @backstage/integration@1.4.1
47
+ - @backstage/types@1.0.2
48
+ - @backstage/catalog-model@1.1.4
22
49
  - @backstage/theme@0.2.16
23
- - @backstage/plugin-catalog-common@0.0.0-nightly-20221220022526
50
+ - @backstage/plugin-catalog-common@1.0.9
24
51
 
25
52
  ## 1.2.2-next.4
26
53
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-react",
3
- "version": "0.0.0-nightly-20221220022526",
3
+ "version": "0.0.0-nightly-20221223022307",
4
4
  "main": "../dist/index.esm.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
package/dist/index.esm.js CHANGED
@@ -1394,10 +1394,11 @@ const EntityTagPicker = (props) => {
1394
1394
  }
1395
1395
  }, [queryParamTags]);
1396
1396
  useEffect(() => {
1397
+ const tags = Object.keys(availableTags != null ? availableTags : {});
1397
1398
  updateFilters({
1398
- tags: selectedTags.length ? new EntityTagFilter(selectedTags) : void 0
1399
+ tags: selectedTags.length && tags.length ? new EntityTagFilter(selectedTags) : void 0
1399
1400
  });
1400
- }, [selectedTags, updateFilters]);
1401
+ }, [selectedTags, updateFilters, availableTags]);
1401
1402
  if (!Object.keys(availableTags != null ? availableTags : {}).length)
1402
1403
  return null;
1403
1404
  return /* @__PURE__ */ React.createElement(Box, { pb: 1, pt: 1 }, /* @__PURE__ */ React.createElement(Typography, { variant: "button", component: "label" }, "Tags", /* @__PURE__ */ React.createElement(