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

github.com/nextcloud/contacts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-10-10 13:32:58 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-10-10 13:33:30 +0300
commit478ab5dccf2c081c929b9f9edcc9030e8facdd1f (patch)
tree686f6355ab0300e1c96d921af1b082b8a66147fc
parent8ba446e85f09b4fb29a6d775a3d0e51e6750da2a (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,