Skip to content

Commit

Permalink
Support for multiple plots in a single operation. Closes #1975 (#1976)
Browse files Browse the repository at this point in the history
  • Loading branch information
umesh-timalsina committed Nov 11, 2020
1 parent 974e833 commit cead1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/ExecuteJob/ExecuteJob.Metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ define([
ExecuteJob.prototype.onMetadataCommand = async function (job, cmd, id, content) {
const MetadataClass = Metadata.getClassForCommand(cmd);
const metadata = await this.getMetadataNodes(job);
const node = metadata.find(node => this.core.getAttribute(node, 'id')) ||
const node = metadata.find(node => +this.core.getAttribute(node, 'id') === id) ||
await this.createNodeForMetadata(MetadataClass, job, id);

const md = new MetadataClass(node, this.core, this.META);
Expand Down

0 comments on commit cead1ec

Please sign in to comment.