Browse Source

fix: make printing nuances reactive for language switching

unknown 2 days ago
parent
commit
50a13a37c0
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/components/PrintingNuancesSection.vue

+ 4 - 3
src/components/PrintingNuancesSection.vue

@@ -47,6 +47,7 @@
 
 <script setup lang="ts">
 import { useI18n } from "vue-i18n";
+import { computed } from "vue";
 import { 
   Layers, 
   FileWarning, 
@@ -60,7 +61,7 @@ import {
 
 const { t } = useI18n();
 
-const nuances = [
+const nuances = computed(() => [
   {
     icon: Layers,
     title: t("nuances.items.layerStructure.title"),
@@ -104,10 +105,10 @@ const nuances = [
     details: t("nuances.items.colorVariations.details")
   },
   {
-    icon: Zap,
+    icon: Zap, // Using Zap for stringing as a visual hint
     title: t("nuances.items.stringing.title"),
     description: t("nuances.items.stringing.description"),
     details: t("nuances.items.stringing.details")
   }
-];
+]);
 </script>