fix somw bug

This commit is contained in:
2026-07-21 16:58:21 +03:30
parent cb50119f56
commit 8d7c7a5693
4 changed files with 157 additions and 43 deletions
@@ -333,7 +333,9 @@ function linesForMetal(metalId: number) {
return lines
}
defineExpose({ reload: () => props.customerId && load(props.customerId) })
defineExpose({
reload: () => (props.customerId ? load(props.customerId) : Promise.resolve())
})
</script>
<style scoped>