diff options
author | Joas Schilling <coding@schilljs.com> | 2022-07-25 14:09:36 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-07-25 14:09:36 +0300 |
commit | 0a4901f1161ea35df23cce74a0b5832eead6caa0 (patch) | |
tree | ccdc1cffdf374077a6f42c8a45e6c322620362ef /src | |
parent | 1f2aca431abf9ab83d553e0bb616c829033b7cb6 (diff) |
Move Matterbridge install to vue buttonbugfix/noid/move-matterbridge-install-to-vue-button
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/AdminSettings/MatterbridgeIntegration.vue | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/components/AdminSettings/MatterbridgeIntegration.vue b/src/components/AdminSettings/MatterbridgeIntegration.vue index 3d012eea4..b5e1b42eb 100644 --- a/src/components/AdminSettings/MatterbridgeIntegration.vue +++ b/src/components/AdminSettings/MatterbridgeIntegration.vue @@ -57,20 +57,23 @@ </p> <p> - <button v-if="isInstalling"> - <span class="icon icon-loading-small" /> + <Button v-if="isInstalling"> + <template #icon> + <span class="icon icon-loading-small" /> + </template> {{ t('spreed', 'Downloading …') }} - </button> - <button v-else + </Button> + <Button v-else @click="enableMatterbridgeApp"> {{ t('spreed', 'Install Talk Matterbridge') }} - </button> + </Button> </p> </template> </div> </template> <script> +import Button from '@nextcloud/vue/dist/Components/Button' import { loadState } from '@nextcloud/initial-state' import { showError } from '@nextcloud/dialogs' import { @@ -82,7 +85,9 @@ import { export default { name: 'MatterbridgeIntegration', - components: {}, + components: { + Button, + }, data() { return { |