@firecms/collection_editor 3.0.0-alpha.45 → 3.0.0-alpha.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firecms/collection_editor",
3
- "version": "3.0.0-alpha.45",
3
+ "version": "3.0.0-alpha.46",
4
4
  "main": "./dist/index.umd.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,8 +14,8 @@
14
14
  "./package.json": "./package.json"
15
15
  },
16
16
  "dependencies": {
17
- "@firecms/data_import_export": "^3.0.0-alpha.45",
18
- "@firecms/schema_inference": "^3.0.0-alpha.45",
17
+ "@firecms/data_import_export": "^3.0.0-alpha.46",
18
+ "@firecms/schema_inference": "^3.0.0-alpha.46",
19
19
  "json5": "^2.2.3",
20
20
  "prism-react-renderer": "^2.3.0"
21
21
  },
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "8a8223081bd7f76d655564ca995dca085f22d727"
81
+ "gitHead": "53ef13adab3db13baeea2ad7953e37cf3552fd62"
82
82
  }
@@ -327,14 +327,14 @@ export function CollectionPropertiesEditorForm({
327
327
  </div>}
328
328
 
329
329
  <div className="ml-1 mt-2 flex flex-row gap-2">
330
- {/*<Tooltip title={"Get the code for this collection"}>*/}
331
- {/* <IconButton*/}
332
- {/* variant={"filled"}*/}
333
- {/* disabled={inferringProperties}*/}
334
- {/* onClick={() => setCodeDialogOpen(true)}>*/}
335
- {/* <CodeIcon/>*/}
336
- {/* </IconButton>*/}
337
- {/*</Tooltip>*/}
330
+ <Tooltip title={"Get the code for this collection"}>
331
+ <IconButton
332
+ variant={"filled"}
333
+ disabled={inferringProperties}
334
+ onClick={() => setCodeDialogOpen(true)}>
335
+ <CodeIcon/>
336
+ </IconButton>
337
+ </Tooltip>
338
338
  {inferPropertiesFromData && <Tooltip title={"Add new properties based on data"}>
339
339
  <IconButton
340
340
  variant={"filled"}