mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-10 09:21:25 +08:00
Fix: Deleting temporary chat resulted in an error. (#17694)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { currentReg, parseCitationIndex } from '@/utils/chat';
|
||||
|
||||
export const extractNumbersFromMessageContent = (content: string) => {
|
||||
const matches = content.match(currentReg);
|
||||
const matches = content?.match(currentReg);
|
||||
if (matches) {
|
||||
const list = matches
|
||||
.map((match) => {
|
||||
|
||||
Reference in New Issue
Block a user