Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92f3786

Browse files
authored
Merge pull requestlowcoder-org#740 from lowcoder-org/dev
Dev
2 parentsd567e1e +11bfd37 commit92f3786

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

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

Lines changed: 1 addition & 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,11 @@ export function HomeLayout(props: HomeLayoutProps) {
329328
// Merge local and global apps into the elements array
330329
displayElements=[...markedLocalApps, ...markedGlobalApps];
331330
}
332-
elseif(mode==="marketplace"){
331+
elseif(mode==="marketplace"&&!isSelfHost){
333332
constmarkedLocalApps=localMarketplaceApps.map(app=>({ ...app,isLocalMarketplace:true}));
334333
displayElements=[...markedLocalApps];
335334
}
336335

337-
console.log("displayElements",displayElements,mode,window.location.host,isSelfHost);
338-
339336
constresList:HomeRes[]=displayElements
340337
.filter((e)=>
341338
searchValue

‎client/packages/lowcoder/src/pages/ApplicationV2/MarketplaceView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ export function MarketplaceView() {
4646
useEffect(()=>{
4747
// Make sure we are fetching local marketplace apps for self-hosted environments
4848
if(window.location.host!=='app.lowcoder.cloud'){
49-
fetchLocalMarketplaceApps();
49+
fetchMarketplaceApps();
5050
}
51-
fetchMarketplaceApps();
51+
fetchLocalMarketplaceApps();
5252
},[]);
5353

5454
return(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp