@firecms/collection_editor 3.0.0-canary.246 → 3.0.0-canary.248
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/dist/index.umd.js
CHANGED
|
@@ -10227,7 +10227,7 @@
|
|
|
10227
10227
|
const deleteCollection = t3;
|
|
10228
10228
|
let t4;
|
|
10229
10229
|
if ($[11] !== permissions.deleteCollections) {
|
|
10230
|
-
t4 = permissions.deleteCollections && /* @__PURE__ */ jsxRuntime.jsx(ui.Menu, { trigger: /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.MoreVertIcon, { size: "small" }) }), children: /* @__PURE__ */ jsxRuntime.jsxs(ui.MenuItem, { dense: true, onClick: (event) => {
|
|
10230
|
+
t4 = permissions.deleteCollections && /* @__PURE__ */ jsxRuntime.jsx(ui.Menu, { trigger: /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { size: "small", children: /* @__PURE__ */ jsxRuntime.jsx(ui.MoreVertIcon, { size: "small" }) }), children: /* @__PURE__ */ jsxRuntime.jsxs(ui.MenuItem, { dense: true, onClick: (event) => {
|
|
10231
10231
|
event.preventDefault();
|
|
10232
10232
|
event.stopPropagation();
|
|
10233
10233
|
setDeleteRequested(true);
|
|
@@ -10242,7 +10242,7 @@
|
|
|
10242
10242
|
}
|
|
10243
10243
|
let t5;
|
|
10244
10244
|
if ($[13] !== onEditCollectionClicked || $[14] !== permissions.editCollections) {
|
|
10245
|
-
t5 = permissions.editCollections && /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { onClick: (event_0) => {
|
|
10245
|
+
t5 = permissions.editCollections && /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { size: "small", onClick: (event_0) => {
|
|
10246
10246
|
onEditCollectionClicked();
|
|
10247
10247
|
}, children: /* @__PURE__ */ jsxRuntime.jsx(ui.SettingsIcon, { size: "small" }) });
|
|
10248
10248
|
$[13] = onEditCollectionClicked;
|