2019-10-03 18:08:39 +03:00
|
|
|
import { loadState } from '@nextcloud/initial-state'
|
2019-09-25 19:19:42 +03:00
|
|
|
import Vue from 'vue'
|
2019-10-03 18:08:39 +03:00
|
|
|
|
2019-09-25 19:19:42 +03:00
|
|
|
import PersonalSettings from './views/PersonalSettings'
|
|
|
|
import store from './store'
|
2018-09-25 11:49:56 +03:00
|
|
|
|
2019-09-25 19:19:42 +03:00
|
|
|
Vue.prototype.t = t
|
2018-09-25 11:49:56 +03:00
|
|
|
|
2019-10-03 18:08:39 +03:00
|
|
|
const initialState = loadState('twofactor_backupcodes', 'state')
|
|
|
|
store.replaceState(initialState)
|
2019-01-10 01:11:19 +03:00
|
|
|
|
|
|
|
const View = Vue.extend(PersonalSettings)
|
|
|
|
new View({
|
2019-11-13 15:05:10 +03:00
|
|
|
store,
|
2019-01-10 01:11:19 +03:00
|
|
|
}).$mount('#twofactor-backupcodes-settings')
|