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.
1 parent 6affa68 commit a011083Copy full SHA for a011083
core/core-frontend/src/store/modules/data-visualization/copy.ts
@@ -118,7 +118,12 @@ export const copyStore = defineStore('copy', {
118
}
119
eventBus.emit('addDashboardItem-' + newComponent.canvasId, newComponent)
120
121
-
+ if (i === dataArray.length - 1) {
122
+ dvMainStore.setCurComponent({
123
+ component: newComponent,
124
+ index: componentData.value.length - 1
125
+ })
126
+ }
127
i++
128
129
}, moveTime)
0 commit comments