mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Update client/src/components/History/Content/ContentItem.vue
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
This commit is contained in:
co-authored by
Marius van den Beek
parent
c6ff57e776
commit
1cbb810cbb
@@ -167,7 +167,7 @@ export default {
|
||||
evt.dataTransfer.setData("text", JSON.stringify([this.item]));
|
||||
},
|
||||
onDisplay() {
|
||||
const id = this.item.id;
|
||||
const id = this.item.object?.id || this.item.id;
|
||||
useGalaxy((Galaxy) => {
|
||||
if (Galaxy.frame && Galaxy.frame.active) {
|
||||
Galaxy.frame.addDataset(id);
|
||||
|
||||
Reference in New Issue
Block a user