Pārlūkot izejas kodu

Adds collapse command to compare & search views

main
Eric Amodio pirms 6 gadiem
vecāks
revīzija
d1bb0ae31b
3 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/views/compareView.ts
  3. +1
    -1
      src/views/searchView.ts

+ 1
- 0
CHANGELOG.md Parādīt failu

@ -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 Parādīt failu

@ -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 Parādīt failu

@ -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) {

Notiek ielāde…
Atcelt
Saglabāt