# Ionic 5 - Reset data from ionic-selectable for show different details

**URL:** <https://forum.ionicframework.com/t/ionic-5-reset-data-from-ionic-selectable-for-show-different-details/198730>\
**Category:** Ionic Angular\
**Created:** [October 28, 2020, 8:09pm UTC](https://forum.ionicframework.com/t/ionic-5-reset-data-from-ionic-selectable-for-show-different-details/198730 "2020-10-28T20:09:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [October 28, 2020, 8:45pm UTC](https://forum.ionicframework.com/t/ionic-5-reset-data-from-ionic-selectable-for-show-different-details/198730/4 "2020-10-28T20:45:25Z")

</div>

> [@joaomarcos11](#):
>
> I’m passing the params between Pages using a Service with two methods: setNavData and getNavData

I think `getNavData` represents a design mistake, because the question then becomes (as you have apparently run into) - “when do I call that?”, a question which I believe has no good answer. I would suggest [redesigning your service so that fresh data updates are reactive instead of polled](https://forum.ionicframework.com/t/ionic-4-tab-to-page-then-back-to-tab-did-not-trigger-ionviewwillenter-solved/167922/11).

---

_[View the full topic](https://forum.ionicframework.com/t/ionic-5-reset-data-from-ionic-selectable-for-show-different-details/198730)._
