feat: Drop buttons tooltips specific to guests.

This commit is contained in:
damencho
2020-11-05 12:00:16 -06:00
committed by Дамян Минков
parent 4fdd4b66f7
commit c2539bf615
4 changed files with 3 additions and 26 deletions

View File

@@ -144,13 +144,7 @@ export function _mapStateToProps(state: Object, ownProps: Props) {
if (!visible && !_disabled) {
_disabled = true;
visible = true;
// button and tooltip
if (state['features/base/jwt'].isGuest) {
_tooltip = 'dialog.liveStreamingDisabledForGuestTooltip';
} else {
_tooltip = 'dialog.liveStreamingDisabledTooltip';
}
_tooltip = 'dialog.liveStreamingDisabledTooltip';
}
}
}