Skip to content

Commit 796a0d9

Browse files
author
FalkWolsky
committed
Check for Marketplace at lowcoder.cloud
1 parent cea7a63 commit 796a0d9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ export function HomeLayout(props: HomeLayoutProps) {
307307
checkIsMobile(window.innerWidth) ? "card" : getHomeLayout()
308308
);
309309

310-
311310
useEffect(() => saveHomeLayout(layout), [layout]);
312311

313312
useEffect(() => {
@@ -329,13 +328,12 @@ export function HomeLayout(props: HomeLayoutProps) {
329328
// Merge local and global apps into the elements array
330329
displayElements = [...markedLocalApps, ...markedGlobalApps];
331330
}
332-
else if (mode === "marketplace") {
331+
else if (mode === "marketplace" && !isSelfHost) {
333332
const markedLocalApps = localMarketplaceApps.map(app => ({ ...app, isLocalMarketplace: true }));
334333
displayElements = [...markedLocalApps];
334+
console.log("displayElements: ", displayElements, markedLocalApps);
335335
}
336336

337-
console.log("displayElements", displayElements, mode, window.location.host, isSelfHost);
338-
339337
const resList: HomeRes[] = displayElements
340338
.filter((e) =>
341339
searchValue

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy