charts are up

This commit is contained in:
Senad Uka
2017-05-21 17:51:45 +02:00
parent 8c236609e8
commit e86ef0ba3a
13 changed files with 239 additions and 35 deletions

View File

@@ -60,6 +60,7 @@ Meteor.zoblak.shared = {
Meteor.zoblak.server = {
controller_state: function(controller_id) {
var result = {}
if (controller_id) {
result = ControllerState.findOne({
@@ -67,6 +68,8 @@ Meteor.zoblak.server = {
});
}
console.log("Asked for ", controller_id, " got ", result);
if (!result) {
result = {}
};