fix: #703 - Entities order was non-deterministic

This commit is contained in:
jamesread
2025-11-27 00:02:08 +00:00
parent 6b4dfddf4c
commit 8bad1b5400
3 changed files with 113 additions and 16 deletions

View File

@@ -7,12 +7,12 @@
</div>
</Section>
<template v-else>
<Section v-for="def in entityDefinitions" :key="def.name" :title="'Entity: ' + def.title ">
<Section v-for="def in entityDefinitions" :key="def.title" :title="'Entity: ' + def.title ">
<div class = "section-content">
<p>{{ def.instances.length }} instances.</p>
<ul>
<li v-for="inst in def.instances" :key="inst.id">
<li v-for="inst in def.instances" :key="inst.uniqueKey">
<router-link :to="{ name: 'EntityDetails', params: { entityType: inst.type, entityKey: inst.uniqueKey } }">
{{ inst.title }}
</router-link>