add LOGIN_NOTE env variables https://github.com/ohmyform/ohmyform/issues/30 and fix lint problems

This commit is contained in:
Michael Schramm 2020-06-11 10:36:36 +02:00
parent 91812f822f
commit 993053daea

View File

@ -18,7 +18,7 @@ export class SettingModel {
this.key = key
this.value = value
this.isTrue = value.toLowerCase() === 'true' || value === '1'
this.isTrue = value ? (value.toLowerCase() === 'true' || value === '1') : false
this.isFalse = !this.isTrue
}
}