Skip to content

Commit

Permalink
fix(suite): show tooltip for disabled labeling switch if device is no…
Browse files Browse the repository at this point in the history
…t authorized
  • Loading branch information
mroz22 committed Jan 3, 2025
1 parent 98a9cb4 commit d6d9343
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const Labeling = () => {
// - Labeling enabled without any device connected
// - Labeling enabled with the device connected inside Settings
// The initialization of Labeling then start when user select a Wallet.
const isDisabled = isLocked() || device?.mode !== 'normal';
const isDisabled = isLocked() || device?.mode !== 'normal' || !device?.state?.sessionId;

return (
<SettingsSectionItem anchorId={SettingsAnchor.Labeling}>
Expand Down

0 comments on commit d6d9343

Please sign in to comment.