Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaden505 committed Dec 9, 2024
1 parent c168a4a commit 75af746
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/public/views/Logs/Create/LogCreationModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()) : [];
Expand Down
2 changes: 1 addition & 1 deletion lib/public/views/Logs/LogsModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class LogsModel extends Observable {
*/
loadCreation({ runNumbers, lhcFillNumbers, environmentIds, templateKey, issueDescription, detectorOrSubsystem }) {

Check warning on line 119 in lib/public/views/Logs/LogsModel.js

View check run for this annotation

Codecov / codecov/patch

lib/public/views/Logs/LogsModel.js#L119

Added line #L119 was not covered by tests
const relations = {};
const templateData = {}
const templateData = {};

Check warning on line 121 in lib/public/views/Logs/LogsModel.js

View check run for this annotation

Codecov / codecov/patch

lib/public/views/Logs/LogsModel.js#L121

Added line #L121 was not covered by tests

if (runNumbers) {
relations.runNumbers = this._parseCommaSeparatedNumbers(runNumbers);
Expand Down

0 comments on commit 75af746

Please sign in to comment.