Skip to content

Commit fc843ff

Browse files
author
FalkWolsky
committed
Check for Marketplace at lowcoder.cloud
1 parent f31c4f9 commit fc843ff

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

Diff for: client/packages/lowcoder/src/pages/ApplicationV2/HomeLayout.tsx

+2-8
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,8 @@ export function HomeLayout(props: HomeLayoutProps) {
334334
displayElements = [...markedLocalApps];
335335
}
336336

337+
console.log("displayElements", displayElements, mode, window.location.host, isSelfHost);
338+
337339
const resList: HomeRes[] = displayElements
338340
.filter((e) =>
339341
searchValue
@@ -421,14 +423,6 @@ export function HomeLayout(props: HomeLayoutProps) {
421423
}))
422424
]
423425

424-
const testOptions = [
425-
getFilterMenuItem(HomeResTypeEnum.All),
426-
getFilterMenuItem(HomeResTypeEnum.Application),
427-
getFilterMenuItem(HomeResTypeEnum.Module),
428-
...(mode !== "marketplace" ? [getFilterMenuItem(HomeResTypeEnum.Navigation)] : []),
429-
...(mode !== "trash" && mode !== "marketplace" ? [getFilterMenuItem(HomeResTypeEnum.Folder)] : []),
430-
];
431-
432426
return (
433427
<Wrapper>
434428
<HeaderWrapper>

Diff for: client/packages/lowcoder/src/pages/ApplicationV2/MarketplaceView.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export function MarketplaceView() {
1313
const [ marketplaceApps, setMarketplaceApps ] = useState<Array<ApplicationMeta>>([]);
1414
const [ localMarketplaceApps, setLocalMarketplaceApps ] = useState<Array<ApplicationMeta>>([]);
1515

16-
// console.log("localMarketplaceApps", localMarketplaceApps);
17-
1816
const fetchMarketplaceApps = async () => {
1917
try {
2018
let response: AxiosResponse<GenericApiResponse<ApplicationMeta[]>>;

0 commit comments

Comments
 (0)