feat: integrate pixel teacher presence and resilient classroom preview
This commit is contained in:
@@ -33,7 +33,8 @@ export class TeacherTopicStore {
|
||||
const items = topics
|
||||
.map((topic) => ({
|
||||
id: topic.id,
|
||||
title: topic.requests[0]?.text.slice(0, 32) || '新话题',
|
||||
title: topic.requests.find((request) => request.intent !== 'check-in')?.text.slice(0, 32)
|
||||
|| (topic.requests.some((request) => request.intent === 'check-in') ? '和老师聊聊' : '新话题'),
|
||||
updatedAt: topic.updatedAt,
|
||||
version: topic.version,
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user