diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-03-10 13:02:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 13:02:32 +0300 |
commit | ace80ded38d175028e0fcd841ec9c942a17450f9 (patch) | |
tree | 0ab6bfef1087335c4e05eb327e93c847b3f233b9 /src/components | |
parent | d1e100a130a8b5729b04048a612c8e479bf093e3 (diff) | |
parent | 31c1ba60de434b157b684fbcb23d27a6e9f9a8e6 (diff) |
Merge pull request #6979 from nextcloud/feat/6927/button-for-confirmation
6927: updated button for confirmation
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/LeftSidebar/NewGroupConversation/Confirmation/Confirmation.vue | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/components/LeftSidebar/NewGroupConversation/Confirmation/Confirmation.vue b/src/components/LeftSidebar/NewGroupConversation/Confirmation/Confirmation.vue index 222a83e47..c07f7d343 100644 --- a/src/components/LeftSidebar/NewGroupConversation/Confirmation/Confirmation.vue +++ b/src/components/LeftSidebar/NewGroupConversation/Confirmation/Confirmation.vue @@ -33,14 +33,15 @@ <p class="confirmation__warning"> {{ t('spreed', 'All set') }} </p> - <button id="copy-link" + <Button id="copy-link" slot="trigger" v-clipboard:copy="linkToConversation" v-clipboard:success="onCopy" v-clipboard:error="onError" + type="secondary" class="confirmation__copy-link"> <label for="copy-link">{{ t('spreed', 'Copy conversation link') }}</label> - </button> + </Button> <p class="confirmation__warning"> {{ confirmationText }} </p> @@ -56,10 +57,13 @@ </template> <script> +import Button from '@nextcloud/vue/dist/Components/Button' export default { name: 'Confirmation', - + components: { + Button, + }, props: { conversationName: { type: String, |