mirror of
https://github.com/apache/superset.git
synced 2026-04-26 19:44:58 +00:00
Re-enable rule prefer-destructuring (only for objects) (#10867)
This commit is contained in:
committed by
GitHub
parent
c51168a30a
commit
352e8a1afd
@@ -117,7 +117,7 @@ const loggerMiddleware = store => next => action => {
|
||||
}
|
||||
|
||||
if (eventData.target_id && dashboardLayout.present) {
|
||||
const meta = dashboardLayout.present[eventData.target_id].meta;
|
||||
const { meta } = dashboardLayout.present[eventData.target_id];
|
||||
// chart name or tab/header text
|
||||
eventData.target_name = meta.chartId ? meta.sliceName : meta.text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user