Skip to content

Commit

Permalink
Don't load ServerService instantly
Browse files Browse the repository at this point in the history
  • Loading branch information
AlwinEgger committed Jun 22, 2020
1 parent b6aadf5 commit 5b64dee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/scripts/server/server.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ angular.module('openolitor-core')
staticServerInfo = result;
});
};
load();

return {
getStaticServerInfo: function() {
return staticServerInfo;
},
initialize: function() {
load();
}
};
}
Expand Down
2 changes: 1 addition & 1 deletion dist/scripts/openolitor-core.js

Large diffs are not rendered by default.

0 comments on commit 5b64dee

Please sign in to comment.