fix(ui) : use correct component names without path prefix (EmptyState, UsedInSection)

This commit is contained in:
2026-04-04 19:29:00 +02:00
parent ef4e208828
commit 3a5860c83c
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -199,7 +199,7 @@
</div>
</div>
<CommonUsedInSection entity-type="composants" :entity-id="component?.id ?? null" />
<UsedInSection entity-type="composants" :entity-id="component?.id ?? null" />
</div>
</template>
+2 -2
View File
@@ -68,7 +68,7 @@
</div>
<!-- Empty State -->
<CommonEmptyState
<EmptyState
v-else-if="filteredSites.length === 0"
:icon="IconLucideFactory"
title="Aucune machine trouvée"
@@ -83,7 +83,7 @@
Ajouter une machine
</button>
</div>
</CommonEmptyState>
</EmptyState>
<!-- Sites List -->
<div v-else class="space-y-5">
+1 -1
View File
@@ -173,7 +173,7 @@
</div>
<!-- Error State -->
<CommonEmptyState
<EmptyState
v-else
:icon="IconLucideAlertTriangle"
title="Machine non trouvée"
+1 -1
View File
@@ -53,7 +53,7 @@
<span class="loading loading-spinner loading-lg" />
</div>
<CommonEmptyState
<EmptyState
v-else-if="filteredMachines.length === 0"
:icon="IconLucideFactory"
title="Aucune machine trouvée"
+1 -1
View File
@@ -223,7 +223,7 @@
variant="piece"
/>
<CommonUsedInSection entity-type="pieces" :entity-id="piece?.id ?? null" />
<UsedInSection entity-type="pieces" :entity-id="piece?.id ?? null" />
</div>
</template>
+1 -1
View File
@@ -199,7 +199,7 @@
</div>
</div>
<CommonUsedInSection entity-type="products" :entity-id="product?.id ?? null" />
<UsedInSection entity-type="products" :entity-id="product?.id ?? null" />
</div>
</template>