From 528d3326757bfcdba2f6523a463f294ec3a92012 Mon Sep 17 00:00:00 2001 From: Tim Brigham OC <75033503+timbrigham-oc@users.noreply.github.com> Date: Thu, 5 Jun 2025 13:31:39 -0400 Subject: [PATCH] Update RelationshipTable.vue Add display of the *values* not just the names of the facts to the fact table. --- src/components/sources/RelationshipTable.vue | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/sources/RelationshipTable.vue b/src/components/sources/RelationshipTable.vue index eaa07a6..8e76a58 100644 --- a/src/components/sources/RelationshipTable.vue +++ b/src/components/sources/RelationshipTable.vue @@ -45,21 +45,27 @@ async function saveRelationships() { table.table.is-striped.is-fullwidth thead tr - th Source + th Source Name + th Source Value th Edge - th Target + th Target Name + th Target Value th tbody tr(v-for="(relationship, index) of selectedSource.relationships") - td + td input.input(v-if="relationshipIndexToEdit === index" v-model="relationship.source.trait" placeholder="Relationship source") span(v-else) {{ relationship.source.trait }} - td + td + span {{ relationship.source.value }} + td input.input(v-if="relationshipIndexToEdit === index" v-model="relationship.edge" placeholder="Relationship edge") span(v-else) {{ relationship.edge }} - td + td input.input(v-if="relationshipIndexToEdit === index" v-model="relationship.target.trait" placeholder="Relationship target") span(v-else) {{ relationship.target.trait }} + td + span {{ relationship.target.value }} td .buttons button.button.is-primary(