Skip to content

Commit a5e0580

Browse files
author
FalkWolsky
committed
Home Screen improvements 2
1 parent 49a49cb commit a5e0580

File tree

1 file changed

+9
-8
lines changed
  • client/packages/lowcoder/src/pages/ApplicationV2

1 file changed

+9
-8
lines changed

client/packages/lowcoder/src/pages/ApplicationV2/index.tsx

+9-8
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,14 @@ export default function ApplicationHome() {
360360
routeComp: NewsView,
361361
icon: ({ selected, ...otherProps }) => selected ? <NewsIcon {...otherProps} width={"24px"}/> : <NewsIcon {...otherProps} width={"24px"}/>,
362362
},
363+
{
364+
text: <TabLabel>{trans("home.marketplace")}</TabLabel>,
365+
routePath: MARKETPLACE_URL,
366+
routePathExact: false,
367+
routeComp: MarketplaceView,
368+
icon: ({ selected, ...otherProps }) => selected ? <MarketplaceIcon {...otherProps} width={"24px"}/> : <MarketplaceIcon {...otherProps} width={"24px"}/>,
369+
visible: ({ user }) => user.orgDev,
370+
},
363371
]
364372
},
365373

@@ -402,14 +410,7 @@ export default function ApplicationHome() {
402410

403411
{
404412
items: [
405-
{
406-
text: <TabLabel>{trans("home.marketplace")}</TabLabel>,
407-
routePath: MARKETPLACE_URL,
408-
routePathExact: false,
409-
routeComp: MarketplaceView,
410-
icon: ({ selected, ...otherProps }) => selected ? <MarketplaceIcon {...otherProps} width={"24px"}/> : <MarketplaceIcon {...otherProps} width={"24px"}/>,
411-
visible: ({ user }) => user.orgDev,
412-
},
413+
413414
{
414415
text: <TabLabel>{trans("home.queryLibrary")}</TabLabel>,
415416
routePath: QUERY_LIBRARY_URL,

0 commit comments

Comments
 (0)