We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
url
1 parent 325abfc commit 3a4e268Copy full SHA for 3a4e268
src/migrate.ts
@@ -111,7 +111,7 @@ export function migrateV3Config(config: V3Config): SankeyChartConfig {
111
add_entities: entityConf.add_entities,
112
subtract_entities: entityConf.subtract_entities,
113
icon: entityConf.icon,
114
- tap_action: entityConf.tap_action,
+ tap_action: entityConf.tap_action || (entityConf.url ? { action: 'url' as const, url_path: entityConf.url } : undefined),
115
double_tap_action: entityConf.double_tap_action,
116
hold_action: entityConf.hold_action,
117
children_sum: entityConf.children_sum,
0 commit comments