🐛 Make sure data is set

Closes #3364
This commit is contained in:
Gina Häußge committed 2019-12-02 14:07:41 +01:00
1 parent 4f25ed546e
commit e235fc299f
1 file changed
+1 -1
@@ -157,7 +157,7 @@ $(function() {
self.userneeds({});
}
if (data.name) {
if (data && data.name) {
self.username(data.name);
self.currentUser(data);