diff --git a/store/db/seed/10002__shortcut.sql b/store/db/seed/10002__shortcut.sql index 8749dfb..0056e61 100644 --- a/store/db/seed/10002__shortcut.sql +++ b/store/db/seed/10002__shortcut.sql @@ -32,7 +32,7 @@ VALUES 'ai-infra', 'https://star-history.com/blog/open-source-ai-infra-projects', 'PUBLIC', - 'star-history AI', + 'star-history ai', '{"title":"Open Source AI Infra for Your Next Project","description":"Some open-source infra projects that can be directly used for your next project. 💡","image":"https://star-history.com/blog/assets/open-source-ai-infra-projects/banner.webp"}' ); @@ -72,7 +72,7 @@ VALUES 101, 'sqlchat', 'https://www.sqlchat.ai', - 'ai chatbot', + 'ai chatbot sql', 'WORKSPACE' ); diff --git a/web/src/components/Navigator.tsx b/web/src/components/Navigator.tsx index 629f049..eb2a54c 100644 --- a/web/src/components/Navigator.tsx +++ b/web/src/components/Navigator.tsx @@ -9,6 +9,7 @@ const Navigator = () => { const { shortcutList } = useAppSelector((state) => state.shortcut); const tags = uniq(shortcutList.map((shortcut) => shortcut.tags).flat()); const currentTab = viewStore.filter.tab || `tab:all`; + const sortedTagMap = sortTags(tags); return (