Skip to content

Commit faf1b74

Browse files
committed
Add comments
1 parent bb62c3a commit faf1b74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dashboard/Dashboard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ class Dashboard extends React.Component {
138138
AccountManager.setCurrentUser({ user });
139139
this.setState({ newFeaturesInLatestVersion });
140140
let appInfoPromises = apps.map(app => {
141+
// Set master key as a default string to avoid undefined value access issues
141142
if (!app.masterKey) app.masterKey = "******"
142143
if (app.serverURL.startsWith('https://api.parse.com/1')) {
143144
//api.parse.com doesn't have feature availability endpoint, fortunately we know which features

0 commit comments

Comments
 (0)