gawati / gawati-portal-ui

Version 2 of the gawati portal
GNU Affero General Public License v3.0
0 stars 0 forks source link

Keycloak Authentication integration - use of window.reload #31

Closed kohsah closed 6 years ago

kohsah commented 6 years ago

Currently in componentDidMount() after checkLogin() and loading of the profile, there is a window.reload() call that refreshes the page which is done so that render() can be force called after the login check in componentDidMount() .

However, setting state correctly there may trigger the same render() more efficiently without having to refresh the whole page.

THis needs to be explored further.

kohsah commented 6 years ago

This issue was fixed.