Skip to content

Commit

Permalink
STSMACOM-523: Add missing value to locationOpts (#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuklis committed Jul 6, 2021
1 parent f487c53 commit 010f401
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/LocationLookup/LocationForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ const LocationForm = ({
[loc => loc.name.toLowerCase(), loc => loc.code.toLowerCase()]
).map(({ name, code, id }) => {
const remoteLabel = remoteMap[id] ? intl.formatMessage({ id: 'stripes-smart-components.ll.remoteLabel' }) : '';
return { label: `${name} (${code}) ${remoteLabel}` };
return {
label: `${name} (${code}) ${remoteLabel}`,
value: id,
};
});

return (
Expand Down

0 comments on commit 010f401

Please sign in to comment.