@backstage/plugin-catalog-react 0.0.0-nightly-20220407023218 → 0.0.0-nightly-20220410023309

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,6 +1,6 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
- ## 0.0.0-nightly-20220407023218
3
+ ## 0.0.0-nightly-20220410023309
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -12,20 +12,21 @@
12
12
 
13
13
  - 4be0d1e777: Changed catalog filter components to only pay attention to query parameters relevant to the component.
14
14
  - 5d5fdbe541: Columns in CatalogTable now change depending on the entity kind, ensuring only relevant columns are displayed.
15
+ - 863e7bcb7b: Updated the "unregister location" behavior in `UnregisterEntityDialog`. Removed unnecessary entity deletion requests that were sent after successfully deleting a location.
15
16
  - 37b04b5a5e: Removed broken link from Labels section of entity inspector.
16
17
  - a496cee4d1: Add support for string refs to the `EntityRefLinks` component
17
18
  - d34900af81: Added a new `NextScaffolderRouter` which will eventually replace the exiting router
18
19
  - 99063c39ae: Minor API report cleanup
19
20
  - 4431873583: Update `usePermission` usage.
20
21
  - Updated dependencies
21
- - @backstage/integration@0.0.0-nightly-20220407023218
22
- - @backstage/plugin-permission-react@0.0.0-nightly-20220407023218
23
- - @backstage/plugin-permission-common@0.0.0-nightly-20220407023218
24
- - @backstage/catalog-model@0.0.0-nightly-20220407023218
25
- - @backstage/core-components@0.0.0-nightly-20220407023218
26
- - @backstage/core-plugin-api@0.0.0-nightly-20220407023218
27
- - @backstage/plugin-catalog-common@0.0.0-nightly-20220407023218
28
- - @backstage/catalog-client@0.0.0-nightly-20220407023218
22
+ - @backstage/integration@0.0.0-nightly-20220410023309
23
+ - @backstage/plugin-permission-react@0.0.0-nightly-20220410023309
24
+ - @backstage/plugin-permission-common@0.0.0-nightly-20220410023309
25
+ - @backstage/catalog-model@0.0.0-nightly-20220410023309
26
+ - @backstage/core-components@0.0.0-nightly-20220410023309
27
+ - @backstage/core-plugin-api@0.0.0-nightly-20220410023309
28
+ - @backstage/plugin-catalog-common@0.0.0-nightly-20220410023309
29
+ - @backstage/catalog-client@0.0.0-nightly-20220410023309
29
30
 
30
31
  ## 1.0.1-next.2
31
32
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-react",
3
- "version": "0.0.0-nightly-20220407023218",
3
+ "version": "0.0.0-nightly-20220410023309",
4
4
  "main": "../dist/index.esm.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
package/dist/index.esm.js CHANGED
@@ -1753,9 +1753,8 @@ function useUnregisterEntityDialogState(entity) {
1753
1753
  }));
1754
1754
  }, [catalogApi, entity]);
1755
1755
  const unregisterLocation = useCallback(async function unregisterLocationFn() {
1756
- const { location: location2, colocatedEntities: colocatedEntities2 } = prerequisites.value;
1756
+ const { location: location2 } = prerequisites.value;
1757
1757
  await catalogApi.removeLocationById(location2.id);
1758
- await Promise.allSettled(colocatedEntities2.map((e) => catalogApi.removeEntityByUid(e.metadata.uid)));
1759
1758
  }, [catalogApi, prerequisites]);
1760
1759
  const deleteEntity = useCallback(async function deleteEntityFn() {
1761
1760
  await catalogApi.removeEntityByUid(uid);