@contentful/field-editor-reference 4.3.5 → 4.3.6

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
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.3.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.3.5...@contentful/field-editor-reference@4.3.6) (2022-05-24)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **reference:** show all content types for reference CT filter [HOMER-836] ([#1152](https://github.com/contentful/field-editors/issues/1152)) ([fe1f38d](https://github.com/contentful/field-editors/commit/fe1f38d093649f31701ead308720a64ffaba44b0))
11
+
6
12
  ## [4.3.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.3.4...@contentful/field-editor-reference@4.3.5) (2022-05-09)
7
13
 
8
14
  ### Bug Fixes
@@ -2363,7 +2363,9 @@ function useEditorPermissions(props) {
2363
2363
  if (entityType === 'Entry') {
2364
2364
  // Hardcoded `true` value following https://contentful.atlassian.net/browse/DANTE-486
2365
2365
  // TODO: refine permissions check in order to account for tags in rules
2366
- _canRead = readableContentTypes.length > 0 || true;
2366
+ // TODO: always show every content type (it's just a filter) to avoid people not seeing
2367
+ // their (partly limited) content types
2368
+ _canRead = true;
2367
2369
  setCanLinkEntity(_canRead);
2368
2370
  }
2369
2371