fix(web): change profile key type
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @Author: ZhaoYing
|
* @Author: ZhaoYing
|
||||||
* @Date: 2026-02-03 18:33:30
|
* @Date: 2026-02-03 18:33:30
|
||||||
* @Last Modified by: ZhaoYing
|
* @Last Modified by: ZhaoYing
|
||||||
* @Last Modified time: 2026-04-14 16:03:41
|
* @Last Modified time: 2026-04-17 17:57:15
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* End User Profile Component
|
* End User Profile Component
|
||||||
@@ -89,11 +89,11 @@ const EndUserProfile = forwardRef<EndUserProfileRef, EndUserProfileProps>(({ cla
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div className="rb:text-[#7B8085]">{t('userMemory.role')}</div>
|
<div className="rb:text-[#7B8085]">{t('userMemory.role')}</div>
|
||||||
<div className="rb:mt-0.5">{data?.profile?.role || '-'}</div>
|
<div className="rb:mt-0.5">{data?.profile?.role?.join(' | ') || '-'}</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div className="rb:text-[#7B8085]">{t('userMemory.domain')}</div>
|
<div className="rb:text-[#7B8085]">{t('userMemory.domain')}</div>
|
||||||
<div className="rb:mt-0.5">{data?.profile?.domain || '-'}</div>
|
<div className="rb:mt-0.5">{data?.profile?.domain?.join(' | ') || '-'}</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div className="rb:text-[#7B8085]">{t('userMemory.expertise')}</div>
|
<div className="rb:text-[#7B8085]">{t('userMemory.expertise')}</div>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* @Author: ZhaoYing
|
* @Author: ZhaoYing
|
||||||
* @Date: 2026-02-03 17:57:15
|
* @Date: 2026-02-03 17:57:15
|
||||||
* @Last Modified by: ZhaoYing
|
* @Last Modified by: ZhaoYing
|
||||||
* @Last Modified time: 2026-04-14 16:03:16
|
* @Last Modified time: 2026-04-17 17:57:00
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* User Memory Detail Types
|
* User Memory Detail Types
|
||||||
@@ -178,8 +178,8 @@ export interface EndUser {
|
|||||||
created_at: string;
|
created_at: string;
|
||||||
updated_at: string;
|
updated_at: string;
|
||||||
profile: {
|
profile: {
|
||||||
role: string;
|
role: string[];
|
||||||
domain: string;
|
domain: string[];
|
||||||
expertise: string[];
|
expertise: string[];
|
||||||
interests: string[];
|
interests: string[];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user