Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions src/components/sources/RelationshipTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Copy link

Copilot AI Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent indentation: this line uses 7 spaces while other similar lines use 8 spaces for indentation. Should be aligned with the pattern used in line 60.

Suggested change
span {{ relationship.target.value }}
span {{ relationship.target.value }}

Copilot uses AI. Check for mistakes.
td
.buttons
button.button.is-primary(
Expand Down