Skip to content

Commit 2c8e46b

Browse files
committed
Fix
1 parent 85a013f commit 2c8e46b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dashboard/Dashboard.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ class Dashboard extends React.Component {
203203
}
204204
});
205205
return Parse.Promise.when(appInfoPromises);
206-
}).then(function() {
207-
Array.prototype.slice.call(arguments).forEach(app => {
206+
}).then(function(resolvedApps) {
207+
resolvedApps.forEach(app => {
208208
AppsManager.addApp(app);
209209
});
210210
this.setState({ configLoadingState: AsyncStatus.SUCCESS });
@@ -213,7 +213,7 @@ class Dashboard extends React.Component {
213213
configLoadingError: error,
214214
configLoadingState: AsyncStatus.FAILED
215215
});
216-
})
216+
});
217217
}
218218

219219
render() {

0 commit comments

Comments
 (0)