diff options
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/src/components/AuthTokenSetupDialogue.vue | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/apps/settings/src/components/AuthTokenSetupDialogue.vue b/apps/settings/src/components/AuthTokenSetupDialogue.vue index e2ef0aeae5a..4c92d318b6e 100644 --- a/apps/settings/src/components/AuthTokenSetupDialogue.vue +++ b/apps/settings/src/components/AuthTokenSetupDialogue.vue @@ -20,21 +20,19 @@ --> <template> - <div v-if="!adding" class="row spacing"> - <a id="generate-app-token-section"> - <!-- Port to TextField component when available --> - <input v-model="deviceName" - type="text" - :maxlength="120" - :disabled="loading" - :placeholder="t('settings', 'App name')" - @keydown.enter="submit"> - <NcButton :disabled="loading || deviceName.length === 0" - type="primary" - @click="submit"> - {{ t('settings', 'Create new app password') }} - </NcButton> - </a> + <div v-if="!adding" id="generate-app-token-section" class="row spacing"> + <!-- Port to TextField component when available --> + <input v-model="deviceName" + type="text" + :maxlength="120" + :disabled="loading" + :placeholder="t('settings', 'App name')" + @keydown.enter="submit"> + <NcButton :disabled="loading || deviceName.length === 0" + type="primary" + @click="submit"> + {{ t('settings', 'Create new app password') }} + </NcButton> </div> <div v-else class="spacing"> {{ t('settings', 'Use the credentials below to configure your app or device.') }} |