Skip to content

Commit b409370

Browse files
committed
Allow hiding organizations filter
1 parent 294d5ab commit b409370

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/app/components/filters/filter-options/filter-options.component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
<app-image-filter />
4646
</div>
4747

48-
<div class="w-full lg:w-auto">
48+
<div
49+
class="w-full lg:w-auto"
50+
*ngIf="Settings.filtering.showOrganizationsFilter"
51+
>
4952
<app-endpoints />
5053
</div>
5154
</div>

src/app/config/settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ export const Settings = {
266266
filtering: {
267267
showFilterPanel: true,
268268
showImageFilter: true,
269+
showOrganizationsFilter: true,
269270
filterPanelLocation: FilterPanelLocation.Left,
270271
minNumOfValuesForFilterOptionToAppear: 1,
271272
filterOptions: {

0 commit comments

Comments
 (0)