summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/src/settings.js
blob: 32eb37fa91a37ee00e17a22d0282907f564e0e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { loadState } from '@nextcloud/initial-state'
import Vue from 'vue'

import PersonalSettings from './views/PersonalSettings'
import store from './store'

Vue.prototype.t = t

const initialState = loadState('twofactor_backupcodes', 'state')
store.replaceState(initialState)

const View = Vue.extend(PersonalSettings)
new View({
	store
}).$mount('#twofactor-backupcodes-settings')