Commit 4ae39ceb authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Add key for v-for in repo_commit_section

parent db355041
......@@ -5,7 +5,7 @@ import Api from '../api'
const RepoCommitSection = {
data: () => Store,
methods: {
makeCommit() {
// see https://docs.gitlab.com/ce/api/commits.html#create-a-commit-with-multiple-files-and-actions
......@@ -59,7 +59,7 @@ export default RepoCommitSection;
<label class="col-md-4 control-label">Staged files ({{changedFiles.length}})</label>
<div class="col-md-4">
<ul class="list-unstyled">
<li v-for="file in changedFiles">
<li v-for="file in changedFiles" :key="file.id">
<span class="help-block">
{{file.url}}
</span>
......@@ -119,4 +119,4 @@ export default RepoCommitSection;
</fieldset>
</form>
</div>
</template>
\ No newline at end of file
</template>
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