Skip to content

Check for Marketplace at lowcoder.cloud #738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Check for Marketplace at lowcoder.cloud
  • Loading branch information
FalkWolsky committed Mar 4, 2024
commit fc843ff215f4f621e8fee514385904d1185c3a4c
10 changes: 2 additions & 8 deletions client/packages/lowcoder/src/pages/ApplicationV2/HomeLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ export function HomeLayout(props: HomeLayoutProps) {
displayElements = [...markedLocalApps];
}

console.log("displayElements", displayElements, mode, window.location.host, isSelfHost);

const resList: HomeRes[] = displayElements
.filter((e) =>
searchValue
Expand Down Expand Up @@ -421,14 +423,6 @@ export function HomeLayout(props: HomeLayoutProps) {
}))
]

const testOptions = [
getFilterMenuItem(HomeResTypeEnum.All),
getFilterMenuItem(HomeResTypeEnum.Application),
getFilterMenuItem(HomeResTypeEnum.Module),
...(mode !== "marketplace" ? [getFilterMenuItem(HomeResTypeEnum.Navigation)] : []),
...(mode !== "trash" && mode !== "marketplace" ? [getFilterMenuItem(HomeResTypeEnum.Folder)] : []),
];

return (
<Wrapper>
<HeaderWrapper>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export function MarketplaceView() {
const [ marketplaceApps, setMarketplaceApps ] = useState<Array<ApplicationMeta>>([]);
const [ localMarketplaceApps, setLocalMarketplaceApps ] = useState<Array<ApplicationMeta>>([]);

// console.log("localMarketplaceApps", localMarketplaceApps);

const fetchMarketplaceApps = async () => {
try {
let response: AxiosResponse<GenericApiResponse<ApplicationMeta[]>>;
Expand Down