summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreta <gretadoci@gmail.com>2022-10-10 14:46:40 +0200
committerGitHub <noreply@github.com>2022-10-10 14:46:40 +0200
commit04d0fca0672eade2e8ca8d0538dc1c79e7b779e4 (patch)
tree54335dbe3cb063b4f18f544fd0173806cc9f640b
parent646be22929cea5b605b89ea5e367ecf046a3bbd2 (diff)
parentf82a90dbd01d341c52091258d0e7d377f535a7fe (diff)
Merge pull request #3029 from nextcloud/backport/3028/stable5.0
[stable5.0] Fix missing action icon for social avatars
-rw-r--r--src/components/ContactDetails/ContactDetailsAvatar.vue6
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,