Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
machines: cleanup UPDATE_STORAGE_POOLS and UPDATE_STORAGE_VOLUMES red…
…ucers UPDATE_STORAGE_POOLS reducer was overwriting storage volumes of each pool with empty array each time it was called. Then it expected that the UPDATE_STORAGE_VOLUMES re-filled the arrays. This approach is not correct, since it causes component rerendering without actual changes in the state and also in some cases we might even read wrong data, if we try to read the state, after UPDATE_STORAGE_POOLS ran but not UPDATE_STORAGE_VOLUMEs.
- Loading branch information