Remove debugs
This commit is contained in:
parent
0c04c04590
commit
c4dfc7b11d
|
@ -11,12 +11,6 @@
|
|||
import Kvp from './kvp';
|
||||
|
||||
export default class SecureKvpSetting extends Kvp {
|
||||
|
||||
constructor(args, ...merge) {
|
||||
super(args, ...merge);
|
||||
window.skvp = this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The value to use when the setting doesn't have a value.
|
||||
*/
|
||||
|
|
|
@ -40,9 +40,8 @@
|
|||
},
|
||||
valueBlur(e) {
|
||||
if (!this.valueChanged) return;
|
||||
const encrypted = aes256.encrypt(this.masterKey, e.target.value);
|
||||
if (encrypted === this.setting.value.value) return;
|
||||
this.setting.value = { key: this.setting.value.key, value: encrypted }
|
||||
const value = aes256.encrypt(this.masterKey, e.target.value);
|
||||
this.setting.value = { key: this.setting.value.key, value }
|
||||
this.valueChanged = false;
|
||||
},
|
||||
keyUpKey(e) {
|
||||
|
|
Loading…
Reference in New Issue