Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Aug 11, 2018
1 parent 9d69be3 commit f0d0ab1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default class App extends Vue {
}
private filterSearchItems() {
const result = this.searchItems.filter((item) => {
const results = this.searchItems.filter((item) => {
if (!this.activeFilters.length) {
// include everything, if no filter is selected:
return true;
Expand Down Expand Up @@ -235,7 +235,7 @@ export default class App extends Vue {
const crossResults = this.searchItems.filter((item) => {
if (item instanceof SearchItem) {
for (const filteredPackage of result) {
for (const filteredPackage of results) {
if (filteredPackage instanceof Package) {
switch (item.key) {
case SearchKey.AUTHOR:
Expand All @@ -251,7 +251,7 @@ export default class App extends Vue {
}
}
});
this.searchItemsFiltered = crossResults.concat(result);
this.searchItemsFiltered = crossResults.concat(results);
}
private onSearchChange(values: Array<Package|SearchItem>) {
Expand Down

0 comments on commit f0d0ab1

Please sign in to comment.