From a13a9319c7abdaa092a58e6fe0795e278464aac0 Mon Sep 17 00:00:00 2001 From: Josemi Date: Mon, 18 Nov 2024 17:51:18 +0100 Subject: [PATCH] wc: Fix job-monitor to render only the content instead of the toggle button and dropdown container #TASK-7216 #TASK-7100 --- src/webcomponents/job/job-monitor.js | 84 +++++++++++----------------- 1 file changed, 32 insertions(+), 52 deletions(-) diff --git a/src/webcomponents/job/job-monitor.js b/src/webcomponents/job/job-monitor.js index 54a247f48..545501378 100644 --- a/src/webcomponents/job/job-monitor.js +++ b/src/webcomponents/job/job-monitor.js @@ -186,70 +186,50 @@ export class JobMonitor extends LitElement { }); if (visibleJobs.length > 0) { return visibleJobs.map(job => html` -
  • - -
  • + + `); } else { return html` -
  • -
    - No jobs on this category. -
    -
  • +
    + No jobs on this category. +
    `; } } render() { return html` - +
    +
    + ${this.renderJobsButtons()} +
    + +
    + ${this.renderVisibleJobsList()} `; }