File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,7 @@ export class PathHeader extends React.Component<
55
55
onClick = { ( ) =>
56
56
this . showGitPushPullDialog (
57
57
this . props . currentFileBrowserPath ,
58
- Operation . Pull ,
59
- 'Git Pull'
58
+ Operation . Pull
60
59
)
61
60
}
62
61
/>
@@ -66,8 +65,7 @@ export class PathHeader extends React.Component<
66
65
onClick = { ( ) =>
67
66
this . showGitPushPullDialog (
68
67
this . props . currentFileBrowserPath ,
69
- Operation . Push ,
70
- 'Git Push'
68
+ Operation . Push
71
69
)
72
70
}
73
71
/>
@@ -86,11 +84,10 @@ export class PathHeader extends React.Component<
86
84
*/
87
85
private showGitPushPullDialog (
88
86
currentFileBrowserPath : string ,
89
- operation : Operation ,
90
- title : string
87
+ operation : Operation
91
88
) : Promise < void > {
92
89
let dialog = new Dialog ( {
93
- title : title ,
90
+ title : `Git ${ Operation } ` ,
94
91
body : new GitPullPushDialog ( currentFileBrowserPath , operation ) ,
95
92
buttons : [ Dialog . okButton ( { label : 'DISMISS' } ) ]
96
93
} ) ;
You can’t perform that action at this time.
0 commit comments