diff --git a/front/src/BigIcon.vue b/front/src/BigIcon.vue index bdf1402..4bb094f 100644 --- a/front/src/BigIcon.vue +++ b/front/src/BigIcon.vue @@ -5,16 +5,13 @@ const props = defineProps({ icon: String, legend: String, isSet: Boolean, - isReadonly: Boolean, }) const hovered = ref(false) const isOnMobile = ref(computeIsOnMobile()) const computedIcon = computed( - () => - props.icon + - (!props.isReadonly && ((hovered.value && !isOnMobile.value) || props.isSet) ? 'Fill' : ''), + () => props.icon + ((hovered.value && !isOnMobile.value) || props.isSet ? 'Fill' : ''), ) function computeIsOnMobile() { @@ -34,8 +31,7 @@ onUnmounted(() => {