diff options
Diffstat (limited to 'apps/settings/src/components/AdminTwoFactor.vue')
-rw-r--r-- | apps/settings/src/components/AdminTwoFactor.vue | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/settings/src/components/AdminTwoFactor.vue b/apps/settings/src/components/AdminTwoFactor.vue index 2f568913124..bfec05e331b 100644 --- a/apps/settings/src/components/AdminTwoFactor.vue +++ b/apps/settings/src/components/AdminTwoFactor.vue @@ -55,12 +55,12 @@ </p> </template> <p> - <button v-if="dirty" - class="button primary" + <Button v-if="dirty" + type="primary" :disabled="loading" @click="saveChanges"> {{ t('settings', 'Save changes') }} - </button> + </Button> </p> </div> </template> @@ -68,6 +68,8 @@ <script> import axios from '@nextcloud/axios' import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' +import Button from '@nextcloud/vue/dist/Components/Button' + import _ from 'lodash' import { generateUrl, generateOcsUrl } from '@nextcloud/router' @@ -75,6 +77,7 @@ export default { name: 'AdminTwoFactor', components: { Multiselect, + Button, }, data() { return { |