You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but this code will trigger to appear the spinner in all tables simultaneously, while the data is fetched only in one of them...
How can I select actionExecuting parameter (favoriteListId) to compare.
lets say the table knows the id of the list, that the data will be loaded for.
.e.g
@Input()
favoriteListId!: number;
isLoading$!: Observable<any>;
constructor(private store: Store) {}
ngOnInit(): void {
this.isLoading$ = this.store.select(actionsExecuting([LoadFavoriteListObjects]))
// I would like to have something like pipe to compare the action id, with the input id.
.pipe(
filter((action: LoadFavoritesListObjects) => { return action.favoriteListId === this.favoriteListId; })
)
;
}
The text was updated successfully, but these errors were encountered:
Hello.
I use this library in some of my project and I really appreciate it!
Thank you!
But I have a question for a non-particalar use-case..
I have multiple tables on a single view in my projects.
All tables use the same action for loading data, but with a different parameter (id).
action example:
All tables uses a loading spinner, which is show, while some observable returns no null value.
By the default you would use:
but this code will trigger to appear the spinner in all tables simultaneously, while the data is fetched only in one of them...
How can I select actionExecuting parameter (favoriteListId) to compare.
lets say the table knows the id of the list, that the data will be loaded for.
.e.g
The text was updated successfully, but these errors were encountered: