mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 15:59:30 +00:00
fix(channels): preserve keyed progress state updates
This commit is contained in:
parent
3ff59df960
commit
e114001cca
1 changed files with 1 additions and 2 deletions
|
|
@ -1133,8 +1133,7 @@ export function mergeChannelProgressDraftLine<TLine extends string | ChannelProg
|
|||
);
|
||||
if (existingIndex >= 0) {
|
||||
const replacement = mergeProgressDraftLineUpdate(lines[existingIndex], line);
|
||||
const replacementIdentity = normalizeChannelProgressDraftLineIdentity(replacement);
|
||||
if (normalizeChannelProgressDraftLineIdentity(lines[existingIndex]) === replacementIdentity) {
|
||||
if (replacement === lines[existingIndex]) {
|
||||
return lines;
|
||||
}
|
||||
const next = [...lines];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue