refactor: use rxjs pipe syntax (#900)

The `let` operator was not migrated because earlier two reducer needed be refactored
- user-configuration reducer
- present reducer

This commit is prerequisite of the angular upgrade.
This commit is contained in:
Róbert Kiss
2019-01-20 23:23:01 +01:00
committed by László Monda
parent e18a98d8bb
commit bb31c2cefa
27 changed files with 683 additions and 599 deletions
@@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/pluck';
import { pluck } from 'rxjs/operators';
@Component({
selector: 'add-on',
@@ -18,6 +18,8 @@ export class AddOnComponent {
constructor(route: ActivatedRoute) {
this.name$ = route
.params
.pluck<{}, string>('name');
.pipe(
pluck<{}, string>('name')
);
}
}