mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
feat(dashboard): menu improvements, fallback support for Drill to Detail (#21351)
This commit is contained in:
@@ -121,7 +121,7 @@ function WorldMap(element, props) {
|
||||
formattedVal: val,
|
||||
},
|
||||
];
|
||||
onContextMenu(filters, pointerEvent.clientX, pointerEvent.clientY);
|
||||
onContextMenu(pointerEvent.clientX, pointerEvent.clientY, filters);
|
||||
} else {
|
||||
logging.warn(
|
||||
t(
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
|
||||
import { t, ChartMetadata, ChartPlugin, Behavior } from '@superset-ui/core';
|
||||
import transformProps from './transformProps';
|
||||
import thumbnail from './images/thumbnail.png';
|
||||
import example1 from './images/WorldMap1.jpg';
|
||||
@@ -45,6 +45,7 @@ const metadata = new ChartMetadata({
|
||||
],
|
||||
thumbnail,
|
||||
useLegacyApi: true,
|
||||
behaviors: [Behavior.DRILL_TO_DETAIL],
|
||||
});
|
||||
|
||||
export default class WorldMapChartPlugin extends ChartPlugin {
|
||||
|
||||
Reference in New Issue
Block a user