From 78058492c89bac4b76a308f57c514772a856b965 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Wed, 1 Feb 2023 16:19:37 +0100 Subject: [PATCH] minor fixes --- ccp/js/methodlistcontroller2.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ccp/js/methodlistcontroller2.js b/ccp/js/methodlistcontroller2.js index a234ffa..c967706 100644 --- a/ccp/js/methodlistcontroller2.js +++ b/ccp/js/methodlistcontroller2.js @@ -206,9 +206,10 @@ class CCPMethodList2 extends HTMLElement{ { target : "summary > h5", apply : (e,d)=>{ + const executables = this.#filtered[d].filter(m=>m.executable).length e.innerHTML = ` - ${d} ${this.#filtered[d].length} - ${this.#filtered[d].filter(m=>m.executable).length}` } + ${d} ${this.#filtered[d].length - executables} + ${executables}` } }, { target : "details ul[name=process_list]",