Fix initial value in oo apps

pull/1/head
yflory 7 years ago
parent fd1b4189be
commit c4a3e98123

@ -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 !== "") {

Loading…
Cancel
Save