Improve render performance of status messages nav item
Created by: eseliger
Since we didn't check if the result changed, the component would trigger a rerender every 30s even if nothing changed. Using distinctUntilChanged
fixes it.
I've also migrated the types in this component.