diff --git a/examples/ahiqar-arabic-karshuni-with-variants-local.html b/examples/ahiqar-arabic-karshuni-with-variants-local.html
index 2f1a7241..13abae1d 100644
--- a/examples/ahiqar-arabic-karshuni-with-variants-local.html
+++ b/examples/ahiqar-arabic-karshuni-with-variants-local.html
@@ -114,19 +114,19 @@
"types": [
{
"name": "Person",
- "icon": "biPersonFill"
+ "icon": "person"
},
{
"name": "Place",
- "icon": "biGeoAltFill"
+ "icon": "marker"
},
{
"name": "Editorial Comment",
- "icon": "biChatFill"
+ "icon": "chat"
},
{
"name": "Reference",
- "icon": "biBoxArrowUpRight"
+ "icon": "externalLink"
}
]
}
@@ -141,7 +141,7 @@
"types": [
{
"name": "Motif",
- "icon": "biPenFill"
+ "icon": "pen"
}
]
}
@@ -156,7 +156,7 @@
"types": [
{
"name": "Variant",
- "icon": "biPenFill"
+ "icon": "pen"
}
]
}
diff --git a/src/components/annotations/AnnotationVariantItem.vue b/src/components/annotations/AnnotationVariantItem.vue
index 235d4a41..df0cd2c2 100644
--- a/src/components/annotations/AnnotationVariantItem.vue
+++ b/src/components/annotations/AnnotationVariantItem.vue
@@ -9,7 +9,11 @@
-
-
+
+
@@ -24,6 +28,10 @@ function getCurrentVariantItemColor(index){
return colors()[index]
}
+function openVariantsModel(){
+ console.log('open the variants modal')
+}
+
export interface Props {
annotation: Annotation,
diff --git a/src/utils/annotations.js b/src/utils/annotations.js
index 8c594e00..6096f8b5 100644
--- a/src/utils/annotations.js
+++ b/src/utils/annotations.js
@@ -244,7 +244,6 @@ export function addWitness(element, annotation) {
const numberVariantItems = Object.keys(variantItemsList).length
const hexaDecimalColors = colors().slice(0, numberVariantItems)
-
//let prevElement = element;
let i = 0;
variantItemsList.forEach((variantItem) => {
@@ -259,7 +258,6 @@ export function addWitness(element, annotation) {
parentOfElement.insertBefore(witHtmlElement, parentOfElement.children[indexOfElement]);
});
//element.after(witnessesHtml)
-
}
export function removeWitness(selector, removeAnnotation) {