diff options
author | Greta <gretadoci@gmail.com> | 2022-10-10 13:47:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 13:47:50 +0300 |
commit | 31cb3064b31f764ec5ead41483febd3ca2e895ab (patch) | |
tree | 3a70718910162134f9e8c3a06c2d538f5edc905a | |
parent | f7ba80bf52f63c4409ccfb04562f4aabd01cf166 (diff) | |
parent | 478ab5dccf2c081c929b9f9edcc9030e8facdd1f (diff) |
Merge pull request #3028 from nextcloud/fix/missing-social-avatar-action-icon
Fix missing action icon for social avatars
-rw-r--r-- | src/components/ContactDetails/ContactDetailsAvatar.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/ContactDetails/ContactDetailsAvatar.vue b/src/components/ContactDetails/ContactDetailsAvatar.vue index 1fb49ba3..65a7cca0 100644 --- a/src/components/ContactDetails/ContactDetailsAvatar.vue +++ b/src/components/ContactDetails/ContactDetailsAvatar.vue @@ -66,8 +66,10 @@ <ActionButton v-for="network in supportedSocial" :key="network" - :icon="'icon-' + network.toLowerCase()" @click="getSocialAvatar(network)"> + <template #icon> + <IconCloudDownload :size="20" /> + </template> {{ t('contacts', 'Get from ' + network) }} </ActionButton> </template> @@ -101,6 +103,7 @@ import Actions from '@nextcloud/vue/dist/Components/NcActions' import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton' import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink' import IconDownload from 'vue-material-design-icons/Download' +import IconCloudDownload from 'vue-material-design-icons/CloudDownload' import IconDelete from 'vue-material-design-icons/Delete' import IconUpload from 'vue-material-design-icons/Upload' import IconFolder from 'vue-material-design-icons/Folder' @@ -124,6 +127,7 @@ export default { ActionLink, Actions, Avatar, + IconCloudDownload, IconDownload, IconDelete, IconUpload, |