[MM-54494] Update selector to get profiles connected to calls (#24544)
* Update selector to get profiles connected to calls * Clean plugin version
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0fb6e5169d
Коммит
db139627ff
@@ -9,7 +9,7 @@ import type {GlobalState} from 'types/store';
|
||||
|
||||
export function isCallsEnabled(state: GlobalState, minVersion = '0.4.2') {
|
||||
return Boolean(state.plugins.plugins[suitePluginIds.calls] &&
|
||||
semver.gte(state.plugins.plugins[suitePluginIds.calls].version || '0.0.0', minVersion));
|
||||
semver.gte(String(semver.clean(state.plugins.plugins[suitePluginIds.calls].version || '0.0.0')), minVersion));
|
||||
}
|
||||
|
||||
// isCallsRingingEnabledOnServer is the flag for the ringing/notification feature in calls
|
||||
|
||||
Ссылка в новой задаче
Block a user