[MM-55092] Replace usage of LocalizedIcon in 'admin_navbar_dropdown.tsx' with i/span tags (#25158)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
eb51d43a2d
Коммит
b284d40faa
@@ -12,11 +12,9 @@ import {trackEvent} from 'actions/telemetry_actions.jsx';
|
|||||||
|
|
||||||
import AboutBuildModal from 'components/about_build_modal';
|
import AboutBuildModal from 'components/about_build_modal';
|
||||||
import CommercialSupportModal from 'components/commercial_support_modal';
|
import CommercialSupportModal from 'components/commercial_support_modal';
|
||||||
import LocalizedIcon from 'components/localized_icon';
|
|
||||||
import Menu from 'components/widgets/menu/menu';
|
import Menu from 'components/widgets/menu/menu';
|
||||||
|
|
||||||
import {ModalIdentifiers} from 'utils/constants';
|
import {ModalIdentifiers} from 'utils/constants';
|
||||||
import {t} from 'utils/i18n';
|
|
||||||
import {filterAndSortTeamsByDisplayName} from 'utils/team_utils';
|
import {filterAndSortTeamsByDisplayName} from 'utils/team_utils';
|
||||||
|
|
||||||
import MenuItemBlockableLink from './menu_item_blockable_link';
|
import MenuItemBlockableLink from './menu_item_blockable_link';
|
||||||
@@ -66,9 +64,12 @@ class AdminNavbarDropdown extends React.PureComponent<Props> {
|
|||||||
<MenuItemBlockableLink
|
<MenuItemBlockableLink
|
||||||
to={'/select_team'}
|
to={'/select_team'}
|
||||||
icon={
|
icon={
|
||||||
<LocalizedIcon
|
<i
|
||||||
className='fa fa-exchange'
|
className='fa fa-exchange'
|
||||||
title={{id: t('select_team.icon'), defaultMessage: 'Select Team Icon'}}
|
title={formatMessage({
|
||||||
|
id: 'select_team.icon',
|
||||||
|
defaultMessage: 'Select Team Icon',
|
||||||
|
})}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
text={formatMessage({id: 'admin.nav.switch', defaultMessage: 'Team Selection'})}
|
text={formatMessage({id: 'admin.nav.switch', defaultMessage: 'Team Selection'})}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user