A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix: show app first in add item modal (#6087)
Thomas915c8a350155
diff --git a/apps/nextjs/src/components/board/items/item-select-modal.tsx b/apps/nextjs/src/components/board/items/item-select-modal.tsxindex 726f135fa..2ac349c6d 100644--- a/apps/nextjs/src/components/board/items/item-select-modal.tsx+++ b/apps/nextjs/src/components/board/items/item-select-modal.tsx@@ -41,7 +41,12 @@ export const ItemSelectModal = createModal<void>(({ actions }) => {name: t(`widget.${kind}.name`),description: t(`widget.${kind}.description`),}))- .sort((itemA, itemB) => itemA.name.localeCompare(itemB.name)),+ .sort((itemA, itemB) => {+ if (itemA.kind === "app") return -1;+ if (itemB.kind === "app") return 1;++ return itemA.name.localeCompare(itemB.name);+ }),[t],);