refactor(04): service code and tab

This commit is contained in:
puriphatt 2024-08-15 11:13:42 +07:00
parent 0409bd4c4a
commit a77743dd17
2 changed files with 44 additions and 2 deletions

View file

@ -893,6 +893,7 @@ async function assignFormDataProductService(id: string) {
const res = await fetchListServiceById(id);
if (res) {
currentServiceTab.value = 1;
statusToggle.value = res.status === 'INACTIVE' ? false : true;
profileUrl.value = res.imageUrl;
profileSubmit.value = true;