Enable Hide Contact for all users
This commit is contained in:
parent
be7b178817
commit
f960c6b5db
6 changed files with 2 additions and 33 deletions
|
@ -167,27 +167,6 @@ export const getStoriesEnabled = createSelector(
|
|||
}
|
||||
);
|
||||
|
||||
export const getContactManagementEnabled = createSelector(
|
||||
getRemoteConfig,
|
||||
(remoteConfig: ConfigMapType): boolean => {
|
||||
if (isRemoteConfigFlagEnabled(remoteConfig, 'desktop.contactManagement')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (
|
||||
isRemoteConfigFlagEnabled(
|
||||
remoteConfig,
|
||||
'desktop.contactManagement.beta'
|
||||
) &&
|
||||
isBeta(window.getVersion())
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
);
|
||||
|
||||
export const getSafetyNumberMode = createSelector(
|
||||
getRemoteConfig,
|
||||
getServerTimeSkew,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue