Skip to content

Commit d1bb0ae

Browse files
committed
Adds collapse command to compare & search views
1 parent 04a994a commit d1bb0ae

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1212
- Remembers and restores the last commit search string
1313
- Adds the _Search Commits_ command to the search results inline toolbar
1414
- Reopens the commit search when clicking on a search results without results
15+
- Adds a _Collapse_ command to the toolbars of the _Compare_ and _Search Commits_ views
1516

1617
### Fixed
1718

src/views/compareView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class CompareView extends ViewBase<CompareNode> {
6262
}
6363

6464
if (configuration.changed(e, configuration.name('views')('compare')('location').value)) {
65-
this.initialize(this.config.location /*, { showCollapseAll: true } */);
65+
this.initialize(this.config.location, { showCollapseAll: true });
6666
}
6767

6868
if (!configuration.initializing(e) && this._root !== undefined) {

src/views/searchView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class SearchView extends ViewBase<SearchNode> {
6565
}
6666

6767
if (configuration.changed(e, configuration.name('views')('search')('location').value)) {
68-
this.initialize(this.config.location /*, { showCollapseAll: true } */);
68+
this.initialize(this.config.location, { showCollapseAll: true });
6969
}
7070

7171
if (!configuration.initializing(e) && this._root !== undefined) {

0 commit comments

Comments
 (0)