Skip to content

Commit

Permalink
[ML] Removing duplicate calendars list in job management (#32647) (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic authored Mar 8, 2019
1 parent 1b30637 commit 7244125
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ export function extractJobDetails(job) {
};
if (job.calendars) {
calendars.items = job.calendars.map(c => ['', c]);
// remove the calendars list from the general section
// so not to show it twice.
const i = general.items.findIndex(item => item[0] === 'calendars');
if (i >= 0) {
general.items.splice(i, 1);
}
}

const detectors = {
Expand Down

0 comments on commit 7244125

Please sign in to comment.