fix not found el
This commit is contained in:
commit
374da47c97
|
|
@ -324,7 +324,8 @@ export class TeamsChatService {
|
||||||
);
|
);
|
||||||
|
|
||||||
const data: ChatItem[] = chatItems.map((child: Element): ChatItem => {
|
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 lastSegment = treeItemValue.split("/").pop() || "";
|
||||||
const id = lastSegment.includes("|") ? lastSegment.split("|")[1] : null;
|
const id = lastSegment.includes("|") ? lastSegment.split("|")[1] : null;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue