Skip to content

Commit

Permalink
Fix duplicated keys issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eiresendez committed Feb 1, 2024
1 parent 6532e30 commit fffb1f0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions resources/js/components/templates/TemplateAssetTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,13 @@
:name="`${group.type}-${action.value}`"
@change="setGroupAction(group, action)"
/>
</b-form-group>
</b-td>
</b-tr>
</b-thead>
<b-tbody>
<b-tr
v-for="asset in group.items"
:key="asset.name"
:key="asset.uuid"
class="border-left border-right border-bottom"
>
<b-td
Expand All @@ -70,14 +69,14 @@
</b-td>
<b-td
v-for="action in actions"
:key="`${group.type}-${asset.name}-${action.value}`"
:key="`${group.type}-${asset.uuid}-${action.value}`"
class="text-center align-middle"
>
<b-form-group>
<b-form-radio
v-model="asset.mode"
:value="action.value"
:name="`${group.type}-${asset.name}-${action.value}`"
:name="`${group.type}-${asset.uuid}-${action.value}`"
@change="setAssetAction(group, asset, action)"
/>
</b-form-group>
Expand Down

0 comments on commit fffb1f0

Please sign in to comment.