feat: port config store to pinia

This commit is contained in:
Dominik Pschenitschni 2022-09-21 02:21:22 +02:00
parent 9e8c429864
commit a737fc5bc2
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
21 changed files with 93 additions and 68 deletions

View file

@ -7,7 +7,7 @@ export default class TotpModel extends AbstractModel<ITotp> implements ITotp {
enabled = false
url = ''
constructor(data: Partial<ITotp>) {
constructor(data: Partial<ITotp> = {}) {
super()
this.assignData(data)
}