mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
[explore-v2] add fave star and edit button to chart header (#1623)
* add fave star to chart title * add TooltipWrapper, and css for icons * fix linting
This commit is contained in:
@@ -4,6 +4,10 @@ import { addToArr, removeFromArr, alterInArr } from '../../../utils/reducerUtils
|
||||
|
||||
export const exploreReducer = function (state, action) {
|
||||
const actionHandlers = {
|
||||
[actions.TOGGLE_FAVE_STAR]() {
|
||||
return Object.assign({}, state, { isStarred: action.isStarred });
|
||||
},
|
||||
|
||||
[actions.FETCH_STARTED]() {
|
||||
return Object.assign({}, state, { isDatasourceMetaLoading: true });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user