mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #11683 from mvdbeek/map_over_state_new_outputs
Ensure new outputs have correct mapOver state
This commit is contained in:
@@ -250,6 +250,9 @@ export default {
|
||||
this.onRedraw();
|
||||
},
|
||||
onAddOutput(output, terminal) {
|
||||
if (this.mapOver) {
|
||||
terminal.setMapOver(this.mapOver);
|
||||
}
|
||||
this.outputTerminals[output.name] = terminal;
|
||||
this.onRedraw();
|
||||
},
|
||||
|
||||
@@ -157,6 +157,7 @@ class Terminal extends EventEmitter {
|
||||
}
|
||||
if (!this.mapOver.equal(val)) {
|
||||
this.mapOver = val;
|
||||
this.node.mapOver = output_val;
|
||||
Object.values(this.node.outputTerminals).forEach((outputTerminal) => {
|
||||
outputTerminal.setMapOver(output_val);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user