aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/components/AuthToken.vue
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-08-22 14:29:58 +0200
committerVincent Petry <vincent@nextcloud.com>2022-08-25 08:38:00 +0200
commitd0473214cd2582ec63f4a5021a8f5927f67bc98f (patch)
tree455708226929d13d55e24bde90833e1508a38714 /apps/settings/src/components/AuthToken.vue
parent708018795863999b674d1e3e900313785893d6a8 (diff)
downloadnextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.tar.gz
nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.zip
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/settings/src/components/AuthToken.vue')
-rw-r--r--apps/settings/src/components/AuthToken.vue36
1 files changed, 18 insertions, 18 deletions
diff --git a/apps/settings/src/components/AuthToken.vue b/apps/settings/src/components/AuthToken.vue
index fa89ed65260..5a48f5d0d8c 100644
--- a/apps/settings/src/components/AuthToken.vue
+++ b/apps/settings/src/components/AuthToken.vue
@@ -40,55 +40,55 @@
<span v-tooltip="lastActivity" class="last-activity">{{ lastActivityRelative }}</span>
</td>
<td class="more">
- <Actions v-if="!token.current"
+ <NcActions v-if="!token.current"
v-tooltip.auto="{
content: t('settings', 'Device settings'),
container: 'body'
}"
:open.sync="actionOpen">
- <ActionCheckbox v-if="token.type === 1"
+ <NcActionCheckbox v-if="token.type === 1"
:checked="token.scope.filesystem"
@change.stop.prevent="$emit('toggle-scope', token, 'filesystem', !token.scope.filesystem)">
<!-- TODO: add text/longtext with some description -->
{{ t('settings', 'Allow filesystem access') }}
- </ActionCheckbox>
- <ActionButton v-if="token.canRename"
+ </NcActionCheckbox>
+ <NcActionButton v-if="token.canRename"
icon="icon-rename"
@click.stop.prevent="startRename">
<!-- TODO: add text/longtext with some description -->
{{ t('settings', 'Rename') }}
- </ActionButton>
+ </NcActionButton>
<!-- revoke & wipe -->
<template v-if="token.canDelete">
<template v-if="token.type !== 2">
- <ActionButton icon="icon-delete"
+ <NcActionButton icon="icon-delete"
@click.stop.prevent="revoke">
<!-- TODO: add text/longtext with some description -->
{{ t('settings', 'Revoke') }}
- </ActionButton>
- <ActionButton icon="icon-delete"
+ </NcActionButton>
+ <NcActionButton icon="icon-delete"
@click.stop.prevent="wipe">
{{ t('settings', 'Wipe device') }}
- </ActionButton>
+ </NcActionButton>
</template>
- <ActionButton v-else-if="token.type === 2"
+ <NcActionButton v-else-if="token.type === 2"
icon="icon-delete"
:title="t('settings', 'Revoke')"
@click.stop.prevent="revoke">
{{ t('settings', 'Revoking this token might prevent the wiping of your device if it has not started the wipe yet.') }}
- </ActionButton>
+ </NcActionButton>
</template>
- </Actions>
+ </NcActions>
</td>
</tr>
</template>
<script>
import {
- Actions,
- ActionButton,
- ActionCheckbox,
+ NcActions,
+ NcActionButton,
+ NcActionCheckbox,
} from '@nextcloud/vue'
// When using capture groups the following parts are extracted the first is used as the version number, the second as the OS
@@ -158,9 +158,9 @@ const iconMap = {
export default {
name: 'AuthToken',
components: {
- Actions,
- ActionButton,
- ActionCheckbox,
+ NcActions,
+ NcActionButton,
+ NcActionCheckbox,
},
props: {
token: {