Skip to content

Commit

Permalink
fix(search-results-tool): fix feature missing
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Oct 4, 2019
1 parent eee16b8 commit 83e0cb4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ export class SearchResultsToolComponent {
return this.store.stateView
.firstBy$(e => e.state.focused)
.pipe(
map(element => (element ? (element.entity.data as Feature) : undefined))
map(
element =>
(this.feature = element
? (element.entity.data as Feature)
: undefined)
)
);
}

Expand Down

0 comments on commit 83e0cb4

Please sign in to comment.