You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ItemBuilder.addUrl(url: ItemUrls) the label of the provided ItemUrls is dropped, because the builder only tracks a list of URLs and which of them is the primary.
What did you expect to happen?
The label of URLs is not dropped when using ItemBuilder.addUrl
Steps to reproduce
constitem=newItemBuilder().setCategory(CategoryEnum.Login).addUrl({primary: true,label: '1Password',href: '1password.com'}).build();console.log(item.urls[0].label);// prints undefined
Notes & Logs
The text was updated successfully, but these errors were encountered:
Your environment
SDK Version: 1.4.1
Connect Server Version: not relevant
OS: Win 11
Node Version: 20.18.0
What happened?
When using
ItemBuilder.addUrl(url: ItemUrls)
the label of the providedItemUrls
is dropped, because the builder only tracks a list of URLs and which of them is the primary.What did you expect to happen?
The label of URLs is not dropped when using
ItemBuilder.addUrl
Steps to reproduce
Notes & Logs
The text was updated successfully, but these errors were encountered: