fix: branch => branch card profile

This commit is contained in:
puriphatt 2024-12-04 15:30:28 +07:00
parent 4a6f192d5f
commit fea6ebaa28

View file

@ -1616,7 +1616,10 @@ watch(currentHq, () => {
subDistrict: props.row.subDistrict, subDistrict: props.row.subDistrict,
en: $i18n.locale === 'eng', en: $i18n.locale === 'eng',
}), }),
branchImgUrl: `/branch/${props.row.id}/branch`, branchImgUrl:
`/branch/${props.row.id}/image/${props.row.selectedImage}`.concat(
refreshImageState ? `?ts=${Date.now()}` : '',
),
}" }"
:field-selected="fieldSelected" :field-selected="fieldSelected"
:badge-field="['branchLabelStatus']" :badge-field="['branchLabelStatus']"
@ -2081,6 +2084,7 @@ watch(currentHq, () => {
}" }"
> >
<ProfileBanner <ProfileBanner
:prefix="formData.name"
:active="formData.status !== 'INACTIVE'" :active="formData.status !== 'INACTIVE'"
useToggle useToggle
v-model:cover-url="imageUrl" v-model:cover-url="imageUrl"