Remove debugs

This commit is contained in:
Jiiks 2018-08-10 12:50:37 +03:00
parent 0c04c04590
commit c4dfc7b11d
2 changed files with 2 additions and 9 deletions

View File

@ -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.
*/

View File

@ -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) {