mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
chore(notification bind): team member notification bind hint text (#2295)
adjusting
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
"bind_inform_account_error": "绑定通知账号异常",
|
||||
"bind_inform_account_success": "绑定通知账号成功",
|
||||
"notification": {
|
||||
"Bind Notification Pipe Hint": "绑定接收通知的邮箱或手机号,以确保您能及时接收到重要的系统通知。"
|
||||
"Bind Notification Pipe Hint": "绑定接收通知的邮箱或手机号,以确保您能及时接收到重要的系统通知。",
|
||||
"remind_owner_bind": "请提醒创建者绑定通知账号"
|
||||
},
|
||||
"permission": {
|
||||
"Manage": "管理员",
|
||||
|
@@ -267,8 +267,15 @@ const MyInfo = () => {
|
||||
{feConfigs?.isPlus && (
|
||||
<Flex mt={6} alignItems={'center'}>
|
||||
<Box {...labelStyles}>{t('common:user.Notification Receive')}: </Box>
|
||||
<Box flex={1} {...(userInfo?.team.notificationAccount ? {} : { color: 'red.600' })}>
|
||||
{userInfo?.team.notificationAccount || t('common:user.Notification Receive Bind')}
|
||||
<Box
|
||||
flex={1}
|
||||
{...(!userInfo?.team.notificationAccount && userInfo?.permission.isOwner
|
||||
? { color: 'red.600' }
|
||||
: {})}
|
||||
>
|
||||
{userInfo?.team.notificationAccount || userInfo?.permission.isOwner
|
||||
? t('common:user.Notification Receive Bind')
|
||||
: t('user:notification.remind_owner_bind')}
|
||||
</Box>
|
||||
|
||||
{userInfo?.permission.isOwner && (
|
||||
|
Reference in New Issue
Block a user