File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -196,22 +196,17 @@ class Dashboard extends React.Component {
196
196
}
197
197
} ) ;
198
198
return Parse . Promise . when ( appInfoPromises ) ;
199
- } ) . then ( function ( resolvedApps ) {
200
- console . log ( 'Parse.Promise:then:resolvedApps' , resolvedApps ) ;
201
- if ( resolvedApps && resolvedApps . length ) {
202
- resolvedApps . forEach ( app => {
203
- AppsManager . addApp ( app ) ;
204
- } ) ;
205
- } else {
206
- throw new Error ( 'There is no apps' ) ;
207
- }
199
+ } ) . then ( function ( ) {
200
+ Array . prototype . slice . call ( arguments ) . forEach ( app => {
201
+ AppsManager . addApp ( app ) ;
202
+ } ) ;
208
203
this . setState ( { configLoadingState : AsyncStatus . SUCCESS } ) ;
209
204
} . bind ( this ) ) . fail ( ( { error } ) => {
210
205
this . setState ( {
211
206
configLoadingError : error ,
212
207
configLoadingState : AsyncStatus . FAILED
213
208
} ) ;
214
- } ) ;
209
+ } )
215
210
}
216
211
217
212
render ( ) {
Original file line number Diff line number Diff line change @@ -292,9 +292,6 @@ 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 >
298
295
{ editor }
299
296
</ div >
300
297
) ;
You can’t perform that action at this time.
0 commit comments