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

View File

@@ -199,7 +199,7 @@
</div> </div>
</div> </div>
<CommonUsedInSection entity-type="composants" :entity-id="component?.id ?? null" /> <UsedInSection entity-type="composants" :entity-id="component?.id ?? null" />
</div> </div>
</template> </template>

View File

@@ -68,7 +68,7 @@
</div> </div>
<!-- Empty State --> <!-- Empty State -->
<CommonEmptyState <EmptyState
v-else-if="filteredSites.length === 0" v-else-if="filteredSites.length === 0"
:icon="IconLucideFactory" :icon="IconLucideFactory"
title="Aucune machine trouvée" title="Aucune machine trouvée"
@@ -83,7 +83,7 @@
Ajouter une machine Ajouter une machine
</button> </button>
</div> </div>
</CommonEmptyState> </EmptyState>
<!-- Sites List --> <!-- Sites List -->
<div v-else class="space-y-5"> <div v-else class="space-y-5">

View File

@@ -173,7 +173,7 @@
</div> </div>
<!-- Error State --> <!-- Error State -->
<CommonEmptyState <EmptyState
v-else v-else
:icon="IconLucideAlertTriangle" :icon="IconLucideAlertTriangle"
title="Machine non trouvée" title="Machine non trouvée"

View File

@@ -53,7 +53,7 @@
<span class="loading loading-spinner loading-lg" /> <span class="loading loading-spinner loading-lg" />
</div> </div>
<CommonEmptyState <EmptyState
v-else-if="filteredMachines.length === 0" v-else-if="filteredMachines.length === 0"
:icon="IconLucideFactory" :icon="IconLucideFactory"
title="Aucune machine trouvée" title="Aucune machine trouvée"

View File

@@ -223,7 +223,7 @@
variant="piece" variant="piece"
/> />
<CommonUsedInSection entity-type="pieces" :entity-id="piece?.id ?? null" /> <UsedInSection entity-type="pieces" :entity-id="piece?.id ?? null" />
</div> </div>
</template> </template>

View File

@@ -199,7 +199,7 @@
</div> </div>
</div> </div>
<CommonUsedInSection entity-type="products" :entity-id="product?.id ?? null" /> <UsedInSection entity-type="products" :entity-id="product?.id ?? null" />
</div> </div>
</template> </template>