Skip to content

Commit 819a373

Browse files
authored
Merge pull request #35 from cazetto/homolog
Fix wrong url
2 parents 79298db + 7157ccd commit 819a373

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

Parse-Dashboard/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ module.exports = function(config, options) {
180180
res.send(`<!DOCTYPE html>
181181
<head>
182182
<link rel="shortcut icon" type="image/x-icon" href="${mountPath}favicon.ico" />
183+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
183184
<base href="${mountPath}"/>
184185
<script>
185186
PARSE_DASHBOARD_PATH = "${mountPath}";
@@ -205,6 +206,7 @@ module.exports = function(config, options) {
205206
res.send(`<!DOCTYPE html>
206207
<head>
207208
<link rel="shortcut icon" type="image/x-icon" href="${mountPath}favicon.ico" />
209+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
208210
<base href="${mountPath}"/>
209211
<script>
210212
PARSE_DASHBOARD_PATH = "${mountPath}";

src/components/back4App/Header/headerNavData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const headerNavData = {
22
items: [
3-
{label: 'My Apps', pathname: '/apps'},
3+
{label: 'My Apps', url: 'https://dashboard.back4app.com/apps/#!/admin'},
44
{label: 'Dashboard', url: 'https://dashboard.back4app.com/'},
55
{label: 'Docs', url: 'http://docs.back4app.com/'},
66
{label: 'Community', url: 'https://groups.google.com/forum/#!forum/back4app'},

src/dashboard/Dashboard.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -196,19 +196,17 @@ class Dashboard extends React.Component {
196196
}
197197
});
198198
return Parse.Promise.when(appInfoPromises);
199-
}).then(function(resolvedApps) {
200-
if(resolvedApps && resolvedApps.length) {
201-
resolvedApps.forEach(app => {
202-
AppsManager.addApp(app);
203-
});
204-
}
199+
}).then(function() {
200+
Array.prototype.slice.call(arguments).forEach(app => {
201+
AppsManager.addApp(app);
202+
});
205203
this.setState({ configLoadingState: AsyncStatus.SUCCESS });
206204
}.bind(this)).fail(({ error }) => {
207205
this.setState({
208206
configLoadingError: error,
209207
configLoadingState: AsyncStatus.FAILED
210208
});
211-
});
209+
})
212210
}
213211

214212
render() {

src/dashboard/Data/Browser/BrowserTable.react.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,6 @@ export default class BrowserTable extends React.Component {
292292
{rows}
293293
<div style={{ height: Math.max(0, (this.props.data.length - this.state.offset - MAX_ROWS) * ROW_HEIGHT) }} />
294294
{addRow}
295-
<div className={styles.rowsHolder} style={{ top: Math.max(0, this.state.offset * ROW_HEIGHT) }}>
296-
{rows}
297-
</div>
298295
{editor}
299296
</div>
300297
);

0 commit comments

Comments
 (0)