From 29807fc5e1779be5ebdd32df2565b60a929b640a Mon Sep 17 00:00:00 2001 From: "julia.kirschenheuter" Date: Tue, 29 Aug 2023 14:52:39 +0200 Subject: [PATCH] Replace custom input field with NcTextField Signed-off-by: julia.kirschenheuter --- apps/settings/src/components/AuthToken.vue | 7 +++++-- .../src/components/AuthTokenSetupDialogue.vue | 12 ++++++++---- dist/settings-vue-settings-personal-security.js | 4 ++-- dist/settings-vue-settings-personal-security.js.map | 2 +- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/apps/settings/src/components/AuthToken.vue b/apps/settings/src/components/AuthToken.vue index b231af8d3871d..4e0a94543be2d 100644 --- a/apps/settings/src/components/AuthToken.vue +++ b/apps/settings/src/components/AuthToken.vue @@ -26,13 +26,14 @@
- + @keyup.esc="cancelRename" /> {{ iconName.name }} ({{ t('settings', 'Marked for remote wipe') }}) @@ -86,6 +87,7 @@ import NcActions from '@nextcloud/vue/dist/Components/NcActions.js' import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js' import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js' +import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js' // When using capture groups the following parts are extracted the first is used as the version number, the second as the OS const userAgentMap = { @@ -157,6 +159,7 @@ export default { NcActions, NcActionButton, NcActionCheckbox, + NcTextField, }, props: { token: { diff --git a/apps/settings/src/components/AuthTokenSetupDialogue.vue b/apps/settings/src/components/AuthTokenSetupDialogue.vue index 23a3a1f1d0919..ea9ef905609fe 100644 --- a/apps/settings/src/components/AuthTokenSetupDialogue.vue +++ b/apps/settings/src/components/AuthTokenSetupDialogue.vue @@ -22,12 +22,14 @@