diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2019-11-13 15:05:10 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-12-19 13:55:33 +0300 |
commit | ec01e0a790448fff38364f629a4de4edb5d465bf (patch) | |
tree | 8fb5369e3d6f9f805025802e12feaa4dfaef1e03 /apps/settings/src/components/AuthTokenList.vue | |
parent | 5d9fd7ba0cced84f1d07627b0860ac5490de164d (diff) |
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0.
- [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases)
- [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0)
Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/settings/src/components/AuthTokenList.vue')
-rw-r--r-- | apps/settings/src/components/AuthTokenList.vue | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/settings/src/components/AuthTokenList.vue b/apps/settings/src/components/AuthTokenList.vue index 65f42197eda..d0dfa6d92fc 100644 --- a/apps/settings/src/components/AuthTokenList.vue +++ b/apps/settings/src/components/AuthTokenList.vue @@ -47,22 +47,22 @@ import AuthToken from './AuthToken' export default { name: 'AuthTokenList', components: { - AuthToken + AuthToken, }, props: { tokens: { type: Array, - required: true - } + required: true, + }, }, computed: { sortedTokens() { return this.tokens.slice().sort((t1, t2) => { - var ts1 = parseInt(t1.lastActivity, 10) - var ts2 = parseInt(t2.lastActivity, 10) + const ts1 = parseInt(t1.lastActivity, 10) + const ts2 = parseInt(t2.lastActivity, 10) return ts2 - ts1 }) - } + }, }, methods: { toggleScope(token, scope, value) { @@ -80,8 +80,8 @@ export default { onWipe(token) { // Just pass it on this.$emit('wipe', token) - } - } + }, + }, } </script> |