From af5479467eca1fc281d65bfddb348f52df3dd880 Mon Sep 17 00:00:00 2001
From: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Date: Thu, 24 Feb 2022 14:11:02 +0100
Subject: use new button component

Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
---
 apps/settings/src/components/AdminTwoFactor.vue | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'apps/settings/src/components/AdminTwoFactor.vue')

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 {
-- 
cgit v1.2.3

