Closed bradcush closed 1 year ago
This fix explicitly removes all menu items using their menuItemId
before creating new ones. All removal is wrapped in a try
/catch
but we still report the error to the console. There could be an issue with this approach if only some of the menu items need to be removed and not all of them. Let's observe behaviour with this fix and we can wrap each call to remove
separately at a later time if needed.
Closes #227 and closes #161