This commit is contained in:
2026-02-15 12:51:26 +01:00
parent 29a84b899d
commit f63e793c88
5 changed files with 87 additions and 33 deletions

View File

@@ -109,8 +109,11 @@ function recalculateWeeklyHours() {
const checkZip = async () => {
const zipData = await useFunctions().useZipCheck(profile.value.address_zip)
profile.value.address_city = zipData.short
profile.value.state_code = zipData.state_code
if (zipData) {
profile.value.address_zip = zipData.zip || profile.value.address_zip
profile.value.address_city = zipData.short
profile.value.state_code = zipData.state_code
}
}
onMounted(fetchProfile)
@@ -314,5 +317,3 @@ onMounted(fetchProfile)
<USkeleton v-if="pending" height="300px" />
</UDashboardPanelContent>
</template>