fix: multiple project sources key conflicts
This commit is contained in:
parent
54c70ce873
commit
8c83e0b84c
|
@ -39,11 +39,11 @@
|
|||
<div :key="'desc-'+proj.name" class='desc' v-html='proj.info[$i18n.locale]'></div>
|
||||
|
||||
<template v-if='proj.source != null'>
|
||||
<template v-for='src in proj.source'>
|
||||
<div :key="'src-icon-'+proj.name+src" class='src-icon'>
|
||||
<template v-for='(src, i) in proj.source'>
|
||||
<div :key="'src-icon-'+proj.name+'-'+i" class='src-icon'>
|
||||
<img src='../assets/timeline/src.svg' />
|
||||
</div>
|
||||
<div :key="'src-'+proj.name+src" class='src'>
|
||||
<div :key="'src-'+proj.name+'-'+i" class='src'>
|
||||
{{ $t('project.sources') }} <a :href='src.link'>{{ src.name }}</a> <span>({{ proj.commits || src.commits }} commits)</span>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue