added a possibility to clear a storage provider field in app settings

pull/1513/head
antelle 2020-05-22 10:14:43 +02:00
parent b6780dff03
commit dad95033c0
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 1 additions and 1 deletions

View File

@ -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];