feat: เพิ่ม id BranchCard

This commit is contained in:
Net 2024-06-13 15:54:35 +07:00
parent 70743b2151
commit 82369a680f
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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) => {