add LOGIN_NOTE env variables https://github.com/ohmyform/ohmyform/issues/30 and fix lint problems
This commit is contained in:
parent
91812f822f
commit
993053daea
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user