diff options
author | Nikola <nikola.gladovic@nextcloud.com> | 2022-03-15 21:36:06 +0300 |
---|---|---|
committer | Nikola <nikola.gladovic@nextcloud.com> | 2022-03-15 21:36:06 +0300 |
commit | e31644f8cc02fc308ea71a27c0dc5c84c84a3f2d (patch) | |
tree | c83108c1f868ad9029c1960870d34fe3957f1827 | |
parent | ee48e03ebf9ea74fdf1a5860af5c0041885f6595 (diff) |
6927: updated button for files sidebar tab|feat/6927/button-for-0files-sidebar-tab-app
Signed-off-by: Nikola <nikola.gladovic@nextcloud.com>
-rw-r--r-- | src/FilesSidebarTabApp.vue | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/FilesSidebarTabApp.vue b/src/FilesSidebarTabApp.vue index 57cb6283b..97c463a99 100644 --- a/src/FilesSidebarTabApp.vue +++ b/src/FilesSidebarTabApp.vue @@ -27,16 +27,16 @@ <div class="icon icon-talk" /> <h2>{{ t('spreed', 'Discuss this file') }}</h2> <p>{{ t('spreed', 'Share this file with others to discuss it') }}</p> - <button class="primary" @click="openSharingTab"> + <Button type="primary" @click="openSharingTab"> {{ t('spreed', 'Share this file') }} - </button> + </Button> </div> <div v-else-if="isTalkSidebarSupportedForFile && !token" class="emptycontent room-not-joined"> <div class="icon icon-talk" /> <h2>{{ t('spreed', 'Discuss this file') }}</h2> - <button class="primary" @click="joinConversation"> + <Button type="primary" @click="joinConversation"> {{ t('spreed', 'Join conversation') }} - </button> + </Button> </div> <template v-else> <CallButton class="call-button" /> @@ -66,6 +66,7 @@ import sessionIssueHandler from './mixins/sessionIssueHandler' import browserCheck from './mixins/browserCheck' import '@nextcloud/dialogs/styles/toast.scss' import DeviceChecker from './components/DeviceChecker/DeviceChecker.vue' +import Button from '@nextcloud/vue/dist/Components/Button' export default { @@ -76,6 +77,7 @@ export default { ChatView, UploadEditor, DeviceChecker, + Button, }, mixins: [ |