Skip to content

Commit d4e2a1f

Browse files
committed
fix: stashlist items update diff on select
1 parent 32c849b commit d4e2a1f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Fixed
1111
- Fixed JS errors in Studio on certain operations (#416)
12+
- Fixed issue where selecting different item in stash list didn't update diff view
1213

1314
## [2.4.0] - 2024-07-08
1415

git-webui/src/share/git-webui/webui/js/git-webui.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2056,11 +2056,6 @@ webui.CommitView = function(historyView) {
20562056
var self = this;
20572057

20582058
self.update = function(entry) {
2059-
if (currentCommit == entry.commit) {
2060-
// We already display the right data. No need to update.
2061-
return;
2062-
2063-
}
20642059
currentCommit = entry.commit;
20652060
self.showDiff();
20662061
buttonBox.select(0);

0 commit comments

Comments
 (0)