@informedai/react 0.4.20 → 0.4.22
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1274,8 +1274,8 @@ function GroupedQuickActions({ actions, groups, theme, onQuickAction }) {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
if (groups) {
|
|
1276
1276
|
groupOrder.sort((a, b) => {
|
|
1277
|
-
if (a === "_default") return 1;
|
|
1278
|
-
if (b === "_default") return
|
|
1277
|
+
if (a === "_default") return -1;
|
|
1278
|
+
if (b === "_default") return 1;
|
|
1279
1279
|
const aIdx = groups.findIndex((g) => g.id === a);
|
|
1280
1280
|
const bIdx = groups.findIndex((g) => g.id === b);
|
|
1281
1281
|
return (aIdx === -1 ? 999 : aIdx) - (bIdx === -1 ? 999 : bIdx);
|
package/dist/index.mjs
CHANGED
|
@@ -1242,8 +1242,8 @@ function GroupedQuickActions({ actions, groups, theme, onQuickAction }) {
|
|
|
1242
1242
|
}
|
|
1243
1243
|
if (groups) {
|
|
1244
1244
|
groupOrder.sort((a, b) => {
|
|
1245
|
-
if (a === "_default") return 1;
|
|
1246
|
-
if (b === "_default") return
|
|
1245
|
+
if (a === "_default") return -1;
|
|
1246
|
+
if (b === "_default") return 1;
|
|
1247
1247
|
const aIdx = groups.findIndex((g) => g.id === a);
|
|
1248
1248
|
const bIdx = groups.findIndex((g) => g.id === b);
|
|
1249
1249
|
return (aIdx === -1 ? 999 : aIdx) - (bIdx === -1 ? 999 : bIdx);
|