Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Ambrosini <marcoambrosini@pm.me>2020-03-11 17:07:33 +0300
committerMarco Ambrosini <marcoambrosini@pm.me>2020-03-11 17:07:33 +0300
commit20209ab4a88f7e9f8a68d0d17a0f12d853400d06 (patch)
tree625bf6e6123b26b28cba88202b72fa2049e02fda /src/components/RightSidebar/Participants/ParticipantsSearchResults
parent8197440e60c0c5e41950b1dcd1dd92d17734727e (diff)
Make it possible to select participants
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/components/RightSidebar/Participants/ParticipantsSearchResults')
-rw-r--r--src/components/RightSidebar/Participants/ParticipantsSearchResults/ParticipantsSearchResults.vue15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/components/RightSidebar/Participants/ParticipantsSearchResults/ParticipantsSearchResults.vue b/src/components/RightSidebar/Participants/ParticipantsSearchResults/ParticipantsSearchResults.vue
index 57913bb2a..0a4bdc02b 100644
--- a/src/components/RightSidebar/Participants/ParticipantsSearchResults/ParticipantsSearchResults.vue
+++ b/src/components/RightSidebar/Participants/ParticipantsSearchResults/ParticipantsSearchResults.vue
@@ -29,7 +29,8 @@
:title="t('spreed', 'Add contacts')" />
<ParticipantsList
:items="addableUsers"
- @click="handleClickParticipant" />
+ @click="handleClickParticipant"
+ @updateSelectedParticipants="handleUpdateSelectedParticipants" />
</template>
<template v-if="addableGroups.length !== 0">
@@ -37,7 +38,8 @@
:title="t('spreed', 'Add groups')" />
<ParticipantsList
:items="addableGroups"
- @click="handleClickParticipant" />
+ @click="handleClickParticipant"
+ @updateSelectedParticipants="handleUpdateSelectedParticipants" />
</template>
<template v-if="addableEmails.length !== 0">
@@ -45,7 +47,8 @@
:title="t('spreed', 'Add emails')" />
<ParticipantsList
:items="addableEmails"
- @click="handleClickParticipant" />
+ @click="handleClickParticipant"
+ @updateSelectedParticipants="handleUpdateSelectedParticipants" />
</template>
<template v-if="addableCircles.length !== 0">
@@ -53,7 +56,8 @@
:title="t('spreed', 'Add circles')" />
<ParticipantsList
:items="addableCircles"
- @click="handleClickParticipant" />
+ @click="handleClickParticipant"
+ @updateSelectedParticipants="handleUpdateSelectedParticipants" />
</template>
<Caption v-if="sourcesWithoutResults"
@@ -295,6 +299,9 @@ export default {
handleClickHint() {
this.$emit('clickSearchHint')
},
+ handleUpdateSelectedParticipants(selectedParticipants) {
+ this.$emit('updateSelectedParticipants', selectedParticipants)
+ },
},
}
</script>