File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { pending } from './common';
4
4
5
5
export function bootstrap ( ) {
6
6
return dispatch => {
7
- dispatch ( pending ( 4 ) ) ;
7
+ dispatch ( pending ( 3 ) ) ;
8
8
dispatch ( fetchUngitConfig ( ) ) ;
9
9
dispatch ( fetchLatestVersion ( ) ) ;
10
10
dispatch ( fetchGitVersion ( ) ) ;
Original file line number Diff line number Diff line change 1
1
import * as types from 'constants/action-types' ;
2
2
import { fetchUserConfig } from './user-config' ;
3
- import { apiError } from './common' ;
3
+ import { apiError , pending } from './common' ;
4
4
5
5
export function fetchUngitConfig ( ) {
6
6
return dispatch => {
@@ -10,6 +10,7 @@ export function fetchUngitConfig() {
10
10
. then ( response => response . json ( ) )
11
11
. then ( json => {
12
12
if ( ! json . config . bugtracking ) {
13
+ dispatch ( pending ( ) ) ;
13
14
dispatch ( fetchUserConfig ( ) ) ;
14
15
}
15
16
dispatch ( receiveUngitConfig ( json ) ) ;
You can’t perform that action at this time.
0 commit comments