Browse Source

Adds collapse command to compare & search views

main
Eric Amodio 6 years ago
parent
commit
d1bb0ae31b
3 changed files with 3 additions and 2 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/views/compareView.ts
  3. +1
    -1
      src/views/searchView.ts

+ 1
- 0
CHANGELOG.md View File

@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Remembers and restores the last commit search string
- Adds the _Search Commits_ command to the search results inline toolbar
- Reopens the commit search when clicking on a search results without results
- Adds a _Collapse_ command to the toolbars of the _Compare_ and _Search Commits_ views
### Fixed

+ 1
- 1
src/views/compareView.ts View File

@ -62,7 +62,7 @@ export class CompareView extends ViewBase {
}
if (configuration.changed(e, configuration.name('views')('compare')('location').value)) {
this.initialize(this.config.location /*, { showCollapseAll: true } */);
this.initialize(this.config.location, { showCollapseAll: true });
}
if (!configuration.initializing(e) && this._root !== undefined) {

+ 1
- 1
src/views/searchView.ts View File

@ -65,7 +65,7 @@ export class SearchView extends ViewBase {
}
if (configuration.changed(e, configuration.name('views')('search')('location').value)) {
this.initialize(this.config.location /*, { showCollapseAll: true } */);
this.initialize(this.config.location, { showCollapseAll: true });
}
if (!configuration.initializing(e) && this._root !== undefined) {

Loading…
Cancel
Save