We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4f863a + 135dfe2 commit 1023daaCopy full SHA for 1023daa
client/controllers/controllerApp.js
@@ -86,7 +86,7 @@ function ControllerApp(
86
};
87
88
fetchUser(function(err, results) {
89
- if (!err) {
+ if (!err && results) {
90
thisUser = results;
91
dataApp.data.user = results;
92
fetchOrgs(function (err, results) {
client/services/serviceFetchInstances.js
@@ -12,6 +12,7 @@ function fetchInstances(
12
} else {
13
currentAccountName = activeAccountName;
14
fetchUser(function (err, user) {
15
+ if (!user) { return cb(err); }
16
currentInstances = user.fetchInstances({
17
githubUsername: currentAccountName
18
}, function (err) {
0 commit comments