We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4adadda commit 6ae872dCopy full SHA for 6ae872d
src/components/Popup/AddAccountPage.vue
@@ -115,6 +115,11 @@ export default Vue.extend({
115
this.newAccount.period = undefined;
116
}
117
118
+ const defaultEncyptionKey = this.$store.state.accounts.defaultEncryption;
119
+ const encryption = this.$store.state.accounts.encryption[
120
+ defaultEncyptionKey
121
+ ];
122
+
123
const entry = new OTPEntry(
124
{
125
type,
@@ -128,7 +133,7 @@ export default Vue.extend({
128
133
digits: this.newAccount.digits,
129
134
algorithm: this.newAccount.algorithm,
130
135
},
131
- this.$store.state.accounts.encryption
136
+ encryption
132
137
);
138
139
await entry.create();
0 commit comments