MM-52261: Remove boards language selector, use Language in Display Settings (#23095)

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Caleb Roseland
2023-05-08 13:37:33 -05:00
коммит произвёл GitHub
родитель a1470c77ac
Коммит 657c0024f9
20 изменённых файлов: 134 добавлений и 1376 удалений

Просмотреть файл

@@ -208,7 +208,7 @@ export default class PluginRegistry {
// Accepts the following:
// - icon - React element to use as the button's icon
// - action - a function called when the button is clicked, passed the channel and channel member as arguments
// - text - a localized string to use as the button's text
// - text - a localized string or React element to use as the button's text
registerChannelIntroButtonAction = reArg([
'icon',
'action',
@@ -220,8 +220,7 @@ export default class PluginRegistry {
}: {
icon: ReactResolvable;
action: PluginComponent['action'];
tooltipText: string;
text: string;
text: ReactResolvable;
}) => {
const id = generateId();