summaryrefslogtreecommitdiffstats
path: root/apps/settings/src/components/AuthToken.vue
diff options
context:
space:
mode:
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: {