mirror of https://github.com/openclaw/openclaw.git
refactor(ui): collapse grouped session label guard
This commit is contained in:
parent
77fc999113
commit
6ec77bfcc4
|
|
@ -691,12 +691,8 @@ function resolveSessionScopedOptionLabel(
|
|||
}
|
||||
|
||||
const label = row.label?.trim() || "";
|
||||
if (label && label !== key) {
|
||||
return resolveSessionDisplayName(key, row);
|
||||
}
|
||||
|
||||
const displayName = row.displayName?.trim() || "";
|
||||
if (displayName && displayName !== key) {
|
||||
if ((label && label !== key) || (displayName && displayName !== key)) {
|
||||
return resolveSessionDisplayName(key, row);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue