Datasources: Rename a UI tracking event property (#62788)

refactor: rename the the `editLink` property to `path`
This commit is contained in:
Levente Balogh
2023-02-03 09:00:04 +01:00
committed by GitHub
parent 7391793504
commit de97ac7128
3 changed files with 10 additions and 10 deletions

View File

@@ -116,7 +116,7 @@ export const testDataSource = (
plugin_id: dsApi.type,
datasource_uid: dsApi.uid,
success: true,
editLink,
path: editLink,
});
} catch (err) {
let message: string | undefined;
@@ -137,7 +137,7 @@ export const testDataSource = (
plugin_id: dsApi.type,
datasource_uid: dsApi.uid,
success: false,
editLink,
path: editLink,
});
}
});
@@ -221,7 +221,7 @@ export function addDataSource(plugin: DataSourcePluginMeta, editRoute = DATASOUR
plugin_id: plugin.id,
datasource_uid: result.datasource.uid,
plugin_version: result.meta?.info?.version,
editLink,
path: editLink,
});
locationService.push(editLink);