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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-10-31 10:30:45 +0300
committerdartcafe <github@dartcafe.de>2020-10-31 10:30:45 +0300
commit188061b8554aa011dae5a806fb05334cdd28a219 (patch)
tree2abdfd876f277e515ad0b748cac7297dfba0edca /src/js/components/SideBar
parent52d692882869cef8c19fe5fe1a44cd0553b14239 (diff)
shares: add displayName and migrate userEmail to emailAddress
Diffstat (limited to 'src/js/components/SideBar')
-rw-r--r--src/js/components/SideBar/SideBarTabShare.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/components/SideBar/SideBarTabShare.vue b/src/js/components/SideBar/SideBarTabShare.vue
index bab21ea8..ec72032d 100644
--- a/src/js/components/SideBar/SideBarTabShare.vue
+++ b/src/js/components/SideBar/SideBarTabShare.vue
@@ -31,7 +31,7 @@
:icon="true">
<Actions>
<ActionButton
- v-if="share.userEmail || share.type === 'group'"
+ v-if="share.emailAddress || share.type === 'group'"
icon="icon-confirm"
@click="sendInvitation(share)">
{{ share.invitationSent ? t('polls', 'Resend invitation mail') : t('polls', 'Send invitation mail') }}
@@ -102,7 +102,7 @@
:icon="true">
<Actions>
<ActionButton
- v-if="share.userEmail || share.type === 'group'"
+ v-if="share.emailAddress || share.type === 'group'"
icon="icon-confirm"
@click="sendInvitation(share)">
{{ t('polls', 'Send invitation mail') }}
@@ -230,7 +230,7 @@ export default {
share: payload,
type: payload.type,
id: payload.id,
- userEmail: payload.emailAddress,
+ emailAddress: payload.emailAddress,
})
.catch(error => {
console.error('Error while adding share - Error: ', error)