Fix empty TextEntry in cloud config

This commit is contained in:
Anavrins 2019-12-11 11:18:02 -05:00
parent db2a28f04c
commit 6204c46cc4
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ To obtain a key, visit:
function tab:eventHandler(event)
if event.type == 'update_key' then
if #self.key.value > 0 then
if self.key.value then
config.key = self.key.value
else
config.key = nil