fix(client): avoid duplicate sailing channel request

This commit is contained in:
2026-09-28 16:47:19 +01:00
parent 9e133779ab
commit 32c5241a01
@@ -70,7 +70,7 @@ async function placeOrder(channelCode: string, channelName: string) {
}, },
}) })
} }
watch(originWarehouseId, () => { void loadChannels() }); onMounted(() => { void loadBase() }) watch(originWarehouseId, (value, previous) => { if (!value || previous === '') return; void loadChannels() }); onMounted(() => { void loadBase() })
</script> </script>
<template> <template>