Skip to content

Commit e8316cd

Browse files
diningPhilosopher64Prabhakar Kumar
authored andcommitted
Fixes bug which disables the Sign Out button in the Status Panel when no entitlements are returned from Online Licensing.
1 parent f9a05fd commit e8316cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gui/src/components/Controls/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import './Controls.css';
2828

2929
// Suggested actions for certain errors
3030
const ERROR_TYPE_MAP = {
31-
'sign-out': ['NetworkLicensingError', 'EntitlementError'],
31+
'sign-out': ['NetworkLicensingError', 'EntitlementError', 'UIVisibleFatalError'],
3232
'restart': ['OnlineLicensingError']
3333
};
3434

@@ -157,7 +157,7 @@ function Controls({
157157
data-testid='unsetLicensingBtn'
158158
className={getBtnClass('sign-out')}
159159
onClick={() => callback(Confirmations.SIGN_OUT)}
160-
disabled={!canResetLicensing || (authEnabled && !isAuthenticated) || (licensingIsMhlm && !isEntitled)}
160+
disabled={!canResetLicensing || (authEnabled && !isAuthenticated)}
161161
data-for="control-button-tooltip"
162162
data-tip= {licensingData.dataTip}
163163
>

0 commit comments

Comments
 (0)