From 6bfd3ae2daab4a93e071d94c8eacb6e48cb82d7b Mon Sep 17 00:00:00 2001 From: Arthur Lefebvre Date: Thu, 6 Nov 2025 14:27:06 +0100 Subject: [PATCH] Make read button work --- front/src/BigIcon.vue | 11 ++++++----- front/src/BookForm.vue | 16 +++++++++++----- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/front/src/BigIcon.vue b/front/src/BigIcon.vue index f5d431b..56c95c4 100644 --- a/front/src/BigIcon.vue +++ b/front/src/BigIcon.vue @@ -3,19 +3,20 @@ const props = defineProps({ icon: String, - legend: String + legend: String, + isSet: Boolean }); const hovered = ref(false) - const computedIcon = computed(() => props.icon + (hovered.value ? "Fill" : "")); + const computedIcon = computed(() => props.icon + (hovered.value || props.isSet ? "Fill" : "")); +