@retikolo/drag-drop-content-types 1.3.3 → 1.3.4

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.
@@ -231,7 +231,9 @@ const SortModal = () => {
231
231
 
232
232
  // Update menu when loading more elements
233
233
  useEffect(() => {
234
- fetchContentType();
234
+ if (settings){
235
+ fetchContentType();
236
+ }
235
237
  }, [noEntriesFromNextPage])
236
238
 
237
239
  // Sync entries in sort menu to match current page of ListView when content-manager page changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retikolo/drag-drop-content-types",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "This plugin add a drag and droppable list that allows you to sort content type entries.",
5
5
  "strapi": {
6
6
  "name": "drag-drop-content-types",