fix(front): fix selecting addresses in autocomplete

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-30 15:36:41 +02:00
parent 14d93120b5
commit e0488dd87f
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -279,6 +279,7 @@ const setSelected = (newValue: IAddress | null) => {
if (!newValue) return; if (!newValue) return;
console.debug("setting selected to model value"); console.debug("setting selected to model value");
Object.assign(selected, newValue); Object.assign(selected, newValue);
emit("update:modelValue", selected);
}; };
const saveManualAddress = (): void => { const saveManualAddress = (): void => {