refactor: Introduce api resource hooks, fetch owners for chart errors (#13218)

* refactor: introduce api resource hooks, fix error owners

* comment

* vestigial comment

* not a function

* clarification

* vestigial comment

* filter the api for a leaner response

* reorganize code, add resource hook catalog

* better names

* implement state management in redux

* Revert "implement state management in redux"

This reverts commit d64d50a99f.

* add tests for hooks
This commit is contained in:
David Aaron Suddjian
2021-02-25 14:41:35 -08:00
committed by GitHub
parent 72721845e1
commit e11d0cbf44
8 changed files with 465 additions and 13 deletions

View File

@@ -199,7 +199,6 @@ const ExploreChartPanel = props => {
errorMessage={props.errorMessage}
formData={props.form_data}
onQuery={props.onQuery}
owners={props?.slice?.owners}
queriesResponse={chart.queriesResponse}
refreshOverlayVisible={props.refreshOverlayVisible}
setControlValue={props.actions.setControlValue}