Skip to content

Commit

Permalink
refactor: use value, key instead of value, key, index
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrer committed Jun 13, 2024
1 parent b14f8f6 commit 65be49d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/workflows/timeline/TimelineItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ function toggleOpLabelling(event: any) {
</a>
<span v-else-if="meta.isArray">{{ meta.data?.join(', ') }}</span>
<div v-else-if="meta.isDict" class="flex flex-row space-x-2 px-2">
<!-- eslint-disable vue/no-unused-vars -->
<span v-for="(value, key, _) in meta.data" :key="key">
<!-- eslint-enable -->
<span v-for="(value, key) in meta.data" :key="key">
<ul class="border-b-2">
{{ key }}
</ul>
Expand Down

0 comments on commit 65be49d

Please sign in to comment.