diff --git a/front/src/BigIcon.vue b/front/src/BigIcon.vue index 301c381..98d7579 100644 --- a/front/src/BigIcon.vue +++ b/front/src/BigIcon.vue @@ -4,17 +4,19 @@ const props = defineProps({ icon: String, legend: String, - isSet: Boolean + isSet: Boolean, + isReadonly: Boolean }); const hovered = ref(false) - const computedIcon = computed(() => props.icon + (hovered.value || props.isSet ? "Fill" : "")); + const computedIcon = computed(() => props.icon + (!props.isReadonly && (hovered.value || props.isSet) ? "Fill" : ""));