From e08c990cc3be5c9ce14001f44df882ad369cf0c6 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Fri, 24 Mar 2023 17:11:52 +0100 Subject: [PATCH] changed labels from contexts to infras --- ccp/js/methodlistcontroller2.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ccp/js/methodlistcontroller2.js b/ccp/js/methodlistcontroller2.js index 54f9f8a..a426d02 100644 --- a/ccp/js/methodlistcontroller2.js +++ b/ccp/js/methodlistcontroller2.js @@ -108,7 +108,7 @@ class CCPMethodList2 extends HTMLElement{
- +
@@ -371,9 +371,9 @@ class CCPMethodList2 extends HTMLElement{ apply : (e,d)=>{ e.alt = e.title = e.textContent = d } }, { - target : "span[name=context]", - "in" : (e,d)=>d.metadata.filter(md=>md.role === "context"), - apply : (e,d)=>{ e.alt = e.title = e.textContent = d.title.replaceAll("%2F", "/") } + target : "span[name=infrastructures]", + "in" : (e,d)=>d.links.filter(md=>md.rel === "compatibleWith"), + apply : (e,d)=>{ e.alt = e.title = e.textContent = d.title } }, { target : "p[name=description]",