File tree Expand file tree Collapse file tree 3 files changed +1
-18
lines changed
release/share/git-webui/webui/js
src/share/git-webui/webui/js Expand file tree Collapse file tree 3 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Fixed
11
11
- Fixed JS errors in Studio on certain operations (#416 )
12
+ - Fixed issue where selecting different item in stash list didn't update diff view (#265 )
12
13
- Tooltip in workspace now shows user who made uncommitted change if not current user (#411 )
13
14
- Files are added to source control upon creation properly (#404 )
14
15
- Files show in uncommitted queue when automatically added (#407 )
Original file line number Diff line number Diff line change @@ -1256,11 +1256,7 @@ webui.StashCommitView = function(stashView) {
1256
1256
var self = this ;
1257
1257
1258
1258
self . update = function ( entry ) {
1259
- if ( currentCommit == entry . commit ) {
1260
- // We already display the right data. No need to update.
1261
- return ;
1262
1259
1263
- }
1264
1260
currentCommit = entry . commit ;
1265
1261
self . showDiff ( ) ;
1266
1262
diffView . update ( "stash show -p stash@{" + entry . stashIndex + "}" ) ;
@@ -2060,11 +2056,6 @@ webui.CommitView = function(historyView) {
2060
2056
var self = this ;
2061
2057
2062
2058
self . update = function ( entry ) {
2063
- if ( currentCommit == entry . commit ) {
2064
- // We already display the right data. No need to update.
2065
- return ;
2066
-
2067
- }
2068
2059
currentCommit = entry . commit ;
2069
2060
self . showDiff ( ) ;
2070
2061
buttonBox . select ( 0 ) ;
Original file line number Diff line number Diff line change @@ -1256,11 +1256,7 @@ webui.StashCommitView = function(stashView) {
1256
1256
var self = this ;
1257
1257
1258
1258
self . update = function ( entry ) {
1259
- if ( currentCommit == entry . commit ) {
1260
- // We already display the right data. No need to update.
1261
- return ;
1262
1259
1263
- }
1264
1260
currentCommit = entry . commit ;
1265
1261
self . showDiff ( ) ;
1266
1262
diffView . update ( "stash show -p stash@{" + entry . stashIndex + "}" ) ;
@@ -2060,11 +2056,6 @@ webui.CommitView = function(historyView) {
2060
2056
var self = this ;
2061
2057
2062
2058
self . update = function ( entry ) {
2063
- if ( currentCommit == entry . commit ) {
2064
- // We already display the right data. No need to update.
2065
- return ;
2066
-
2067
- }
2068
2059
currentCommit = entry . commit ;
2069
2060
self . showDiff ( ) ;
2070
2061
buttonBox . select ( 0 ) ;
You can’t perform that action at this time.
0 commit comments