From 41f245d4a45beb2d3eddcecb6ab09c60b79c5ab0 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Mon, 10 Jul 2023 15:41:55 +0200 Subject: [PATCH] fixed code and modified shared tooltip --- ccp/js/methodlistcontroller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccp/js/methodlistcontroller.js b/ccp/js/methodlistcontroller.js index 15d2c8b..83fb675 100644 --- a/ccp/js/methodlistcontroller.js +++ b/ccp/js/methodlistcontroller.js @@ -83,7 +83,7 @@ class CCPMethodList extends HTMLElement{ ` : `` } - @@ -333,7 +333,7 @@ class CCPMethodList extends HTMLElement{ } isShared(process){ - return 0 < process.metadata.filter(md=>{ return md.role === "context" && mt.title === this.#boot.context}) + return 0 < process.metadata.filter(md=>{ return md.role === "context" && md.title === this.#boot.context}).length } isAuthor(m){