mirror of https://github.com/keeweb/keeweb
added a possibility to clear a storage provider field in app settings
parent
b6780dff03
commit
dad95033c0
|
@ -20,7 +20,7 @@ class SettingsPrvView extends View {
|
|||
changeField(e) {
|
||||
const id = e.target.dataset.id;
|
||||
const value = e.target.value;
|
||||
if (!e.target.checkValidity()) {
|
||||
if (value && !e.target.checkValidity()) {
|
||||
return;
|
||||
}
|
||||
const storage = Storage[this.model.name];
|
||||
|
|
Loading…
Reference in New Issue