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
Nickname is undefined for cameras that have yet to be given one. This leads the sorting of cameras in the LiveViewSettingsButtons component to throw an error when using the String.prototype.localeCompare() function on the undefined nickname.
The text was updated successfully, but these errors were encountered:
This issue is an instance of concerns outlined in Issue #13 .
Solutions include Automatically generating a nickname for a new camera and immediately adding it to the IndexDB, or adding a check for undefined nicknames to the sorting in the LiveViewSettingButtons component.
Added conditional chaining to localeCompare call to prevent crashes and made camera nicknames default to the Serial Number to prevent any additional issues with undefined nicknames.
Nickname is undefined for cameras that have yet to be given one. This leads the sorting of cameras in the LiveViewSettingsButtons component to throw an error when using the String.prototype.localeCompare() function on the undefined nickname.
The text was updated successfully, but these errors were encountered: