summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-10-10 12:32:58 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-10-10 10:48:09 +0000
commitf82a90dbd01d341c52091258d0e7d377f535a7fe (patch)
tree54335dbe3cb063b4f18f544fd0173806cc9f640b
parent646be22929cea5b605b89ea5e367ecf046a3bbd2 (diff)
Fix missing action icon for social avatars
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-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,