@ -44,13 +44,13 @@ export class AssetsPageComponent extends ResourceOwner implements OnInit {
}
public ngOnInit() {
this.assetsState.load();
this.own(
this.assetsState.assetsQuery
.subscribe(query => {
this.filter.setQuery(query);
}));
public reload() {
@ -171,7 +171,7 @@ export class State<T extends {}> {
public resetState() {
this.next(this.initialState);
this.state.next(this.initialState);
public next(update: ((v: T) => Readonly<T>) | object) {
@ -50,6 +50,12 @@ export class AssetsSelectorComponent extends StatefulComponent<State> implements