feat: port config store to pinia
This commit is contained in:
parent
9e8c429864
commit
a737fc5bc2
21 changed files with 93 additions and 68 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue