Showing 9,144 of 9,144 total issues
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return showOmnichannel && omnichannel.add(room);
Avoid too many return
statements within this function. Open
Open
return `${lastMessage.u.name || lastMessage.u.username}: ${normalizeSidebarMessage(lastMessage, t)}`;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return t('Encrypted_messages_false');
Avoid too many return
statements within this function. Open
Open
return <ReactiveUserStatus uid={uid} />;
Avoid too many return
statements within this function. Open
Open
return showOmnichannel && onHold.add(room);
Avoid too many return
statements within this function. Open
Open
return {
outBoundCallsAllowed: hasVoIPEnterpriseLicense, // set to true only if enterprise license is present.
outBoundCallsEnabled: hasVoIPEnterpriseLicense, // set to true even if enterprise license is not present.
outBoundCallsEnabledForUser:
hasVoIPEnterpriseLicense && clientState === 'registered' && !['IN_CALL', 'ON_HOLD'].includes(voipClient.callerInfo.state), // set to true if the user has enterprise license, but is not able to make outbound calls. (busy, or disabled)
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return normalizeSidebarMessage(lastMessage, t);
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return {
start: moment().subtract(1, 'month').startOf('month').toDate(),
end: moment().subtract(1, 'month').endOf('month').toDate(),
};
Avoid too many return
statements within this function. Open
Open
return state;
Avoid too many return
statements within this function. Open
Open
return {
action: 'install',
icon: 'warning',
label: 'Install',
};
Avoid too many return
statements within this function. Open
Open
return {
action: 'purchase',
label: 'Buy',
icon: 'warning',
};
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return {
action: 'install',
label: 'Install',
};