Skip to content

Commit

Permalink
IONOS(search): set person search to be disableable
Browse files Browse the repository at this point in the history
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
  • Loading branch information
printminion-co committed Oct 28, 2024
1 parent 65b102f commit 5f249e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/src/components/UnifiedSearch/UnifiedSearchModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
</NcActionButton>
</NcActions>
<SearchableList :label-text="t('core', 'Search people')"
v-if="peopleSearchEnabled"
:search-list="userContacts"
:empty-content-text="t('core', 'Not found')"
data-cy-unified-search-filter="people"
Expand Down Expand Up @@ -225,6 +226,14 @@ export default defineComponent({
type: Boolean,
default: false,
},
/**
* Show people search filter
*/
peopleSearchEnabled: {
type: Boolean,
default: true,
}
},
emits: ['update:open', 'update:query'],
Expand Down

0 comments on commit 5f249e3

Please sign in to comment.