fix not found el

This commit is contained in:
Admin 2026-04-24 13:56:51 +07:00
commit 374da47c97
1 changed files with 2 additions and 1 deletions

View File

@ -324,7 +324,8 @@ export class TeamsChatService {
);
const data: ChatItem[] = chatItems.map((child: Element): ChatItem => {
const treeItemValue = child.getAttribute("data-fui-tree-item-value") || "";
const treeItemValue =
child.getAttribute("data-fui-tree-item-value") || "";
const lastSegment = treeItemValue.split("/").pop() || "";
const id = lastSegment.includes("|") ? lastSegment.split("|")[1] : null;