Commit 024ba6d8 authored by Clement Ho's avatar Clement Ho

Merge branch '4992-fix-token-unique-key' into 'master'

Use unique keys for token inputs while add same value twice to an epic

Closes #4992

See merge request gitlab-org/gitlab-ee!4618
parents 2d41dbd6 4f6f2e00
......@@ -123,9 +123,10 @@ export default {
and cause odd behavior when one is removed.
-->
<li
:key="`${pendingReferences.length}-${reference}`"
v-for="(reference, index) in pendingReferences"
class="js-add-issuable-form-token-list-item add-issuable-form-token-list-item">
:key="`related-issues-token-${index}`"
class="js-add-issuable-form-token-list-item add-issuable-form-token-list-item"
>
<issue-token
event-namespace="pendingIssuable"
:id-key="index"
......
---
title: Use unique keys for token inputs while add same value twice to an epic
merge_request: 4618
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment