MM-51359 Replace makeGetUserTimezone selector with getCurrentTimezone and similar selectors (#22832)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7029d88443
Коммит
54af9a7c7d
@@ -11,12 +11,12 @@ import {Client4} from 'mattermost-redux/client';
|
||||
import {Preferences} from 'mattermost-redux/constants';
|
||||
|
||||
import {get, getBool, getInt} from 'mattermost-redux/selectors/entities/preferences';
|
||||
import {getCurrentTimezone} from 'mattermost-redux/selectors/entities/timezone';
|
||||
import {getCurrentUser, getStatusForUserId} from 'mattermost-redux/selectors/entities/users';
|
||||
|
||||
import {openModal} from 'actions/views/modals';
|
||||
import {setStatusDropdown} from 'actions/views/status_dropdown';
|
||||
|
||||
import {getCurrentUserTimezone} from 'selectors/general';
|
||||
import {makeGetCustomStatus, isCustomStatusEnabled, showStatusDropdownPulsatingDot, isCustomStatusExpired} from 'selectors/views/custom_status';
|
||||
import {isStatusDropdownOpen} from 'selectors/views/status_dropdown';
|
||||
import {GenericAction} from 'mattermost-redux/types/actions';
|
||||
@@ -53,7 +53,7 @@ function makeMapStateToProps() {
|
||||
isStatusDropdownOpen: isStatusDropdownOpen(state),
|
||||
showCustomStatusPulsatingDot: showStatusDropdownPulsatingDot(state),
|
||||
showCompleteYourProfileTour,
|
||||
timezone: getCurrentUserTimezone(state),
|
||||
timezone: getCurrentTimezone(state),
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user