From 2262e1bed07efd57412334377633cc4acac1187d Mon Sep 17 00:00:00 2001 From: Thomas Francart Date: Sun, 1 Dec 2024 12:44:52 +0100 Subject: [PATCH] #684 - but unfinished --- .../startendclassgroup/HierarchicalClassSelectBuilder.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sparnatural/components/builder-section/groupwrapper/criteriagroup/startendclassgroup/HierarchicalClassSelectBuilder.ts b/src/sparnatural/components/builder-section/groupwrapper/criteriagroup/startendclassgroup/HierarchicalClassSelectBuilder.ts index f8a93058..c1ad8651 100644 --- a/src/sparnatural/components/builder-section/groupwrapper/criteriagroup/startendclassgroup/HierarchicalClassSelectBuilder.ts +++ b/src/sparnatural/components/builder-section/groupwrapper/criteriagroup/startendclassgroup/HierarchicalClassSelectBuilder.ts @@ -437,7 +437,8 @@ export class HierarchicalClassSelectBuilder extends HTMLComponent { let icon = `` ; let iconValue = ``; if (element.icon != '') { - icon = `` ; + // TODO : handle iconHover + icon = (element.icon.startsWith("fa"))?``:`` ; iconValue = `data-icon="${element.icon}"` ; this.hasIcon = true; }