mtxuilib 0.0.334 → 0.0.336

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.
@@ -136,19 +136,11 @@ const DetailViewActions = () => {
136
136
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_dropdown_menu.DropdownMenuContent, { className: "w-56", children: [
137
137
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_dropdown_menu.DropdownMenuLabel, { children: "Edit" }),
138
138
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_dropdown_menu.DropdownMenuSeparator, {}),
139
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_dropdown_menu.DropdownMenuGroup, { children: [
140
- curd.canEdit && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_dropdown_menu.DropdownMenuItem, { onSelect: () => {
141
- }, children: [
142
- "Edit",
143
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_dropdown_menu.DropdownMenuShortcut, { children: "\u21E7\u2318P" })
144
- ] }),
145
- curd.canDelete && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_dropdown_menu.DropdownMenuItem, { onSelect: () => {
146
- curd.openDelete();
147
- }, children: [
148
- "Delete",
149
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_dropdown_menu.DropdownMenuShortcut, { children: "\u2318S" })
150
- ] })
151
- ] }),
139
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_dropdown_menu.DropdownMenuGroup, { children: curd.canEdit && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_dropdown_menu.DropdownMenuItem, { onSelect: () => {
140
+ }, children: [
141
+ "Edit",
142
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_dropdown_menu.DropdownMenuShortcut, { children: "\u21E7\u2318P" })
143
+ ] }) }),
152
144
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_dropdown_menu.DropdownMenuSeparator, {})
153
145
  ] })
154
146
  ] });
@@ -113,19 +113,11 @@ const DetailViewActions = () => {
113
113
  /* @__PURE__ */ jsxs(DropdownMenuContent, { className: "w-56", children: [
114
114
  /* @__PURE__ */ jsx(DropdownMenuLabel, { children: "Edit" }),
115
115
  /* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
116
- /* @__PURE__ */ jsxs(DropdownMenuGroup, { children: [
117
- curd.canEdit && /* @__PURE__ */ jsxs(DropdownMenuItem, { onSelect: () => {
118
- }, children: [
119
- "Edit",
120
- /* @__PURE__ */ jsx(DropdownMenuShortcut, { children: "\u21E7\u2318P" })
121
- ] }),
122
- curd.canDelete && /* @__PURE__ */ jsxs(DropdownMenuItem, { onSelect: () => {
123
- curd.openDelete();
124
- }, children: [
125
- "Delete",
126
- /* @__PURE__ */ jsx(DropdownMenuShortcut, { children: "\u2318S" })
127
- ] })
128
- ] }),
116
+ /* @__PURE__ */ jsx(DropdownMenuGroup, { children: curd.canEdit && /* @__PURE__ */ jsxs(DropdownMenuItem, { onSelect: () => {
117
+ }, children: [
118
+ "Edit",
119
+ /* @__PURE__ */ jsx(DropdownMenuShortcut, { children: "\u21E7\u2318P" })
120
+ ] }) }),
129
121
  /* @__PURE__ */ jsx(DropdownMenuSeparator, {})
130
122
  ] })
131
123
  ] });