Skip to content
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

default catalog instead of all categories #68

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions src/app/pages/search/search.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
</svg>
<span class="sr-only">Close menu</span>
</button>
<bae-categories-filter></bae-categories-filter>
<bae-categories-filter [catalogId]="DFT_CATALOG"></bae-categories-filter>
</div>
} @else {
<bae-categories-filter class="hidden md:block w-1/5 md:w-2/4 lg:w-1/4"></bae-categories-filter>
<bae-categories-filter [catalogId]="DFT_CATALOG" class="hidden md:block w-1/5 md:w-2/4 lg:w-1/4"></bae-categories-filter>
}

<div class="flex flex-col w-full md:w-4/5 lg:w-3/4">
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/search/search.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export class SearchComponent implements OnInit {
page_check:boolean = true;
page: number=0;
PRODUCT_LIMIT: number = environment.PRODUCT_LIMIT;
DFT_CATALOG: String = environment.DFT_CATALOG_ID;
showDrawer:boolean=false;
searchEnabled = environment.SEARCH_ENABLED;
keywords:any=undefined;
Expand Down
1 change: 1 addition & 0 deletions src/app/services/app-init.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export class AppInitService {
environment.DOME_REGISTER_LINK = config.domeRegister;
environment.DOME_PUBLISH_LINK = config.domePublish;
environment.PURCHASE_ENABLED = config.purchaseEnabled;
environment.DFT_CATALOG_ID = config.defaultId;
resolve(config);
}),
error: (error) => {
Expand Down
3 changes: 2 additions & 1 deletion src/environments/environment.development.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ export const environment = {
DOME_LINKEDIN: 'https://www.linkedin.com/company/dome-marketplace/',
DOME_YOUTUBE: 'https://www.youtube.com/channel/UC8UiL59S0JiaYYr14w5eOzA',
DOME_X: 'https://x.com/DomeMarketplace',
BUNDLE_ENABLED: false
BUNDLE_ENABLED: false,
DFT_CATALOG_ID: ''
};
3 changes: 2 additions & 1 deletion src/environments/environment.production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ export const environment = {
DOME_LINKEDIN: 'https://www.linkedin.com/company/dome-marketplace/',
DOME_YOUTUBE: 'https://www.youtube.com/channel/UC8UiL59S0JiaYYr14w5eOzA',
DOME_X: 'https://x.com/DomeMarketplace',
BUNDLE_ENABLED: false
BUNDLE_ENABLED: false,
DFT_CATALOG_ID: ''
};
3 changes: 2 additions & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ export const environment = {
DOME_LINKEDIN: 'https://www.linkedin.com/company/dome-marketplace/',
DOME_YOUTUBE: 'https://www.youtube.com/channel/UC8UiL59S0JiaYYr14w5eOzA',
DOME_X: 'https://x.com/DomeMarketplace',
BUNDLE_ENABLED: false
BUNDLE_ENABLED: false,
DFT_CATALOG_ID: ''
};