@alfresco/adf-content-services 8.4.0-18405491661 → 8.4.0-18457986000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6503,7 +6503,9 @@ class SearchFilterAutocompleteChipsComponent {
|
|
|
6503
6503
|
.getSites()
|
|
6504
6504
|
.pipe(map((sites) => {
|
|
6505
6505
|
const predefinedOptions = this.settings?.autocompleteOptions || [];
|
|
6506
|
-
const sitesOptions = sites.list.entries
|
|
6506
|
+
const sitesOptions = sites.list.entries
|
|
6507
|
+
.filter((siteEntry) => siteEntry.entry.visibility === 'public' || siteEntry.entry?.role)
|
|
6508
|
+
.map((siteEntry) => ({
|
|
6507
6509
|
id: siteEntry.entry.id,
|
|
6508
6510
|
value: siteEntry.entry.title
|
|
6509
6511
|
}));
|