Fix initial value in oo apps

This commit is contained in:
yflory 2018-03-29 10:16:51 +02:00
parent fd1b4189be
commit c4a3e98123

View File

@ -310,7 +310,7 @@ define([
var userDoc = APP.realtime.getUserDoc();
console.log(userDoc);
var isNew = false;
var newDoc = '';
var newDoc = true;
if (userDoc === "" || userDoc === "{}") { isNew = true; }
if (userDoc !== "") {