Fix #90
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user