Fixes the perpetual loading state for dataset body in the history view.
Looks like we are dispatching setBodyLoading() but because there is not a separate API call for body, we are never setting loading back to false when API_DATASET_SUCCESS happens.
This sets dataset.bodyLoading to false when API_DATASET_SUCCESS or API_DATASET_FAILURE fires.
Closes #634
Fixes the perpetual loading state for dataset body in the history view.
Looks like we are dispatching
setBodyLoading()
but because there is not a separate API call for body, we are never setting loading back to false whenAPI_DATASET_SUCCESS
happens.This sets
dataset.bodyLoading
tofalse
whenAPI_DATASET_SUCCESS
orAPI_DATASET_FAILURE
fires.