File tree 4 files changed +11
-8
lines changed 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,6 @@ module.exports = function(config, options) {
180
180
res . send ( `<!DOCTYPE html>
181
181
<head>
182
182
<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">
184
183
<base href="${ mountPath } "/>
185
184
<script>
186
185
PARSE_DASHBOARD_PATH = "${ mountPath } ";
@@ -206,7 +205,6 @@ module.exports = function(config, options) {
206
205
res . send ( `<!DOCTYPE html>
207
206
<head>
208
207
<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">
210
208
<base href="${ mountPath } "/>
211
209
<script>
212
210
PARSE_DASHBOARD_PATH = "${ mountPath } ";
Original file line number Diff line number Diff line change 1
1
const headerNavData = {
2
2
items : [
3
- { label : 'My Apps' , url : 'https://dashboard.back4app.com/ apps/#!/admin ' } ,
3
+ { label : 'My Apps' , pathname : '/ apps' } ,
4
4
{ label : 'Dashboard' , url : 'https://dashboard.back4app.com/' } ,
5
5
{ label : 'Docs' , url : 'http://docs.back4app.com/' } ,
6
6
{ label : 'Community' , url : 'https://groups.google.com/forum/#!forum/back4app' } ,
Original file line number Diff line number Diff line change @@ -196,17 +196,19 @@ class Dashboard extends React.Component {
196
196
}
197
197
} ) ;
198
198
return Parse . Promise . when ( appInfoPromises ) ;
199
- } ) . then ( function ( ) {
200
- Array . prototype . slice . call ( arguments ) . forEach ( app => {
201
- AppsManager . addApp ( app ) ;
202
- } ) ;
199
+ } ) . then ( function ( resolvedApps ) {
200
+ if ( resolvedApps && resolvedApps . length ) {
201
+ resolvedApps . forEach ( app => {
202
+ AppsManager . addApp ( app ) ;
203
+ } ) ;
204
+ }
203
205
this . setState ( { configLoadingState : AsyncStatus . SUCCESS } ) ;
204
206
} . bind ( this ) ) . fail ( ( { error } ) => {
205
207
this . setState ( {
206
208
configLoadingError : error ,
207
209
configLoadingState : AsyncStatus . FAILED
208
210
} ) ;
209
- } )
211
+ } ) ;
210
212
}
211
213
212
214
render ( ) {
Original file line number Diff line number Diff line change @@ -292,6 +292,9 @@ export default class BrowserTable extends React.Component {
292
292
{ rows }
293
293
< div style = { { height : Math . max ( 0 , ( this . props . data . length - this . state . offset - MAX_ROWS ) * ROW_HEIGHT ) } } />
294
294
{ addRow }
295
+ < div className = { styles . rowsHolder } style = { { top : Math . max ( 0 , this . state . offset * ROW_HEIGHT ) } } >
296
+ { rows }
297
+ </ div >
295
298
{ editor }
296
299
</ div >
297
300
) ;
You can’t perform that action at this time.
0 commit comments