Commit Graph

2 Commits

Author SHA1 Message Date
Tristan Cacqueray 93cc8d274a web: clear status when changing tenant
This change improves the status reducer to clear the status for the
tenant set action. This prevent incorrect status and flickering to
occur when changing tenant.

Change-Id: Ie910e83eba264a6668fa5fce7ebf71fe6c8cc36b
2019-02-02 03:49:36 +00:00
Tristan Cacqueray 833dbd257b web: refactor status page to use a reducer
This change updates the status page component to use a fetchStatusAction
instead of direct axios call. This enables using the generic error reducers.
This change also refactors the refresh button into a parent component to
enable re-use on the other pages.

Change-Id: Iac8a317263f84f14f28d2ea015f918268b903407
2018-12-02 09:55:37 +00:00