feat: เพิ่ม id BranchCard
This commit is contained in:
parent
70743b2151
commit
82369a680f
2 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ defineProps<{
|
|||
>
|
||||
<span>{{ v }}</span>
|
||||
<q-btn
|
||||
:id="`${v}-view-detail`"
|
||||
@click.stop="$emit('view-detail', metadata ?? data)"
|
||||
:label="$t('viewDetail')"
|
||||
rounded
|
||||
|
|
|
|||
|
|
@ -742,6 +742,7 @@ watch(locale, () => {
|
|||
</div>
|
||||
<div class="branch-container">
|
||||
<BranchCard
|
||||
:id="`branch-card-${item.name}`"
|
||||
v-for="item in treeData
|
||||
.flatMap((v) => [v, ...v.branch])
|
||||
.filter((v) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue