Skip to content

Commit 6043e8f

Browse files
author
FalkWolsky
committed
Sorting Database and Big Data
1 parent 1c3716c commit 6043e8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/packages/lowcoder/src/pages/datasource/pluginPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ interface SectionProps {
118118
}
119119

120120
const categories: Category[] = [
121-
{ label: trans("query.database"), filter: (t) => databasePlugins.includes(t.id) || t.id == "googleSheets" || t.definition?.category === "database" },
122-
{ label: trans("query.categoryBigdata"), filter: (t) => t.definition?.category === "Big Data" },
121+
{ label: trans("query.database"), filter: (t) => databasePlugins.includes(t.id) && t.id !== "snowflake" && t.id !== "clickHouse" && t.id !== "es" || t.id == "googleSheets" || t.definition?.category === "database" },
122+
{ label: trans("query.categoryBigdata"), filter: (t) => t.id == "snowflake" || t.id == "clickHouse" || t.id == "es" || t.definition?.category === "Big Data" },
123123
{ label: trans("query.categoryAi"), filter: (t) => t.definition?.category === "AI" },
124124
{ label: trans("query.categoryDevops"), filter: (t) => t.definition?.category === "DevOps" },
125125
{ label: trans("query.categoryAppdevelopment"), filter: (t) => t.id == "restApi" || t.id == "graphql" || t.definition?.category === "App Development" },

0 commit comments

Comments
 (0)