diff --git a/lib/public/views/Logs/Create/LogCreationModel.js b/lib/public/views/Logs/Create/LogCreationModel.js index 965c5d7187..ae755af9f6 100644 --- a/lib/public/views/Logs/Create/LogCreationModel.js +++ b/lib/public/views/Logs/Create/LogCreationModel.js @@ -97,8 +97,7 @@ export class LogCreationModel extends Observable { this._createdLog = RemoteData.loading(); this.notify(); - const { title, text, parentLogId, runNumbers, environments, lhcFills, - attachments, templateKey, issueDescription, detectorOrSubsystem } = this; + const { title, text, parentLogId, runNumbers, environments, lhcFills, attachments } = this; const tagsTexts = this._creationTagsPickerModel.selected; const environmentsIds = environments ? environments.split(',').map((environment) => environment.trim()) : []; const lhcFillNumbers = lhcFills ? lhcFills.split(',').map((lhcFillNumber) => lhcFillNumber.trim()) : []; diff --git a/lib/public/views/Logs/LogsModel.js b/lib/public/views/Logs/LogsModel.js index 7c7c3bc09b..dda4678cb7 100644 --- a/lib/public/views/Logs/LogsModel.js +++ b/lib/public/views/Logs/LogsModel.js @@ -118,7 +118,7 @@ export class LogsModel extends Observable { */ loadCreation({ runNumbers, lhcFillNumbers, environmentIds, templateKey, issueDescription, detectorOrSubsystem }) { const relations = {}; - const templateData = {} + const templateData = {}; if (runNumbers) { relations.runNumbers = this._parseCommaSeparatedNumbers(runNumbers);