Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui)Fixed the home page switch notification, internationalization … #19347

Merged
merged 2 commits into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,17 @@
*/

import Icon from '@ant-design/icons';
import i18next from 'i18next';
import React from 'react';
import { ReactComponent as IconMentions } from '../../assets/svg/ic-mentions.svg';
import { ReactComponent as IconTask } from '../../assets/svg/ic-task.svg';
import { FeedFilter } from '../../enums/mydata.enum';
import {
NotificationTabsKey,
NotificationTabsName,
} from '../../enums/notification.enum';
import { NotificationTabsKey } from '../../enums/notification.enum';
import { ThreadType } from '../../generated/api/feed/createThread';

export const tabsInfo = [
{
name: NotificationTabsName.TASK,
name: i18next.t('label.task-plural'),
key: NotificationTabsKey.TASK,
icon: (
<Icon
Expand All @@ -36,7 +34,7 @@ export const tabsInfo = [
),
},
{
name: NotificationTabsName.MENTION,
name: i18next.t('label.mention-plural'),
key: NotificationTabsKey.CONVERSATION,
icon: (
<Icon
Expand Down
Loading