Skip to content

Commit

Permalink
Fix Dropdown for ChannelBtn
Browse files Browse the repository at this point in the history
  • Loading branch information
AxeRicin committed Dec 22, 2023
1 parent cfa26f5 commit a35dfcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Components/ChannelBtn.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const ChannelBtn = ({ channel }) => {
</Button>
<Dropdown>
<Dropdown.Toggle variant="" className={classExpandedBtn}>
<span className="visually-hidden" />
<span className="visually-hidden">{t('chat_page.chat.dropdown')}</span>
</Dropdown.Toggle>
<Dropdown.Menu>
<Dropdown.Item onClick={handleRemoveChannel(channel.id)}>{t('chat_page.chat.dropdown_delete')}</Dropdown.Item>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/locales/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default {
message_many: '{{count}} сообщений',
},
header: 'Каналы',
dropdown: 'Управление каналом',
dropdown_toggle: 'Управление каналом',
dropdown_delete: 'Удалить',
dropdown_rename: 'Переименовать',
Expand Down

0 comments on commit a35dfcc

Please sign in to comment.