summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/src
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2019-11-13 12:05:10 +0000
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-12-19 11:55:33 +0100
commitec01e0a790448fff38364f629a4de4edb5d465bf (patch)
tree8fb5369e3d6f9f805025802e12feaa4dfaef1e03 /apps/twofactor_backupcodes/src
parent5d9fd7ba0cced84f1d07627b0860ac5490de164d (diff)
downloadnextcloud-server-ec01e0a790448fff38364f629a4de4edb5d465bf.tar.gz
nextcloud-server-ec01e0a790448fff38364f629a4de4edb5d465bf.zip
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/twofactor_backupcodes/src')
-rw-r--r--apps/twofactor_backupcodes/src/settings.js2
-rw-r--r--apps/twofactor_backupcodes/src/store.js8
-rw-r--r--apps/twofactor_backupcodes/src/views/PersonalSettings.vue8
3 files changed, 9 insertions, 9 deletions
diff --git a/apps/twofactor_backupcodes/src/settings.js b/apps/twofactor_backupcodes/src/settings.js
index 32eb37fa91a..12f118ae007 100644
--- a/apps/twofactor_backupcodes/src/settings.js
+++ b/apps/twofactor_backupcodes/src/settings.js
@@ -11,5 +11,5 @@ store.replaceState(initialState)
const View = Vue.extend(PersonalSettings)
new View({
- store
+ store,
}).$mount('#twofactor-backupcodes-settings')
diff --git a/apps/twofactor_backupcodes/src/store.js b/apps/twofactor_backupcodes/src/store.js
index 18f2d26bc18..99c327ec362 100644
--- a/apps/twofactor_backupcodes/src/store.js
+++ b/apps/twofactor_backupcodes/src/store.js
@@ -29,7 +29,7 @@ const state = {
enabled: false,
total: 0,
used: 0,
- codes: []
+ codes: [],
}
const mutations = {
@@ -44,7 +44,7 @@ const mutations = {
},
setCodes(state, codes) {
Vue.set(state, 'codes', codes)
- }
+ },
}
const actions = {
@@ -58,12 +58,12 @@ const actions = {
commit('setCodes', codes)
return true
})
- }
+ },
}
export default new Vuex.Store({
strict: process.env.NODE_ENV !== 'production',
state,
mutations,
- actions
+ actions,
})
diff --git a/apps/twofactor_backupcodes/src/views/PersonalSettings.vue b/apps/twofactor_backupcodes/src/views/PersonalSettings.vue
index d05e8b360af..fa03aae2f13 100644
--- a/apps/twofactor_backupcodes/src/views/PersonalSettings.vue
+++ b/apps/twofactor_backupcodes/src/views/PersonalSettings.vue
@@ -50,7 +50,7 @@ export default {
name: 'PersonalSettings',
data() {
return {
- generatingCodes: false
+ generatingCodes: false,
}
},
computed: {
@@ -83,7 +83,7 @@ export default {
},
haveCodes() {
return this.codes && this.codes.length > 0
- }
+ },
},
methods: {
generateBackupCodes: function() {
@@ -112,8 +112,8 @@ export default {
printCodes: function() {
print(this.getPrintData(this.codes))
- }
- }
+ },
+ },
}
</script>