fix(organize): 展示智能体处理状态并刷新恢复结果
This commit is contained in:
1 parent
86351f20f3
commit
b306d27d08
9 files changed
+172
-12
No files matched your search
@@ -429,7 +429,7 @@ export default function OrganizePage() {
|
||||
const records = useRecords({ ...base, status });
|
||||
const stats = useRecordStats({ ...base, attention: undefined });
|
||||
const roots = useLibraryRoots();
|
||||
useSse([EventType.organizationChanged], () => {
|
||||
useSse([EventType.organizationChanged, EventType.decisionCreated, EventType.decisionUpdated], () => {
|
||||
void qc.invalidateQueries({ queryKey: ["records"] });
|
||||
if (ids.length) void qc.invalidateQueries({ queryKey: ["files", "records"] });
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user