Skip to content

Commit f4859e2

Browse files
committed
style(ui): keep chat-pane within the LOC ratchet
1 parent 47591df commit f4859e2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ui/src/pages/chat/chat-pane.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1819,9 +1819,8 @@ class ChatPane extends OpenClawLightDomElement {
18191819
(row) => row.archived === true && areUiSessionKeysEquivalent(row.key, state.sessionKey),
18201820
) === true;
18211821
const disabledReason = selectedSessionArchived ? t("chat.archivedSessionDisabled") : null;
1822-
// Never flash "view-only" while metadata loads; after loading, anything
1823-
// short of a continuable session (including a failed lookup) explains the
1824-
// disabled composer instead of leaving it silently inert.
1822+
// Never flash "view-only" while metadata loads; after loading, anything short
1823+
// of a continuable session (failed lookups too) explains the disabled composer.
18251824
const catalogDisabledReason =
18261825
catalogKey && !this.catalogLoading && this.catalogSession?.canContinue !== true
18271826
? this.catalogHost?.kind === "node"

0 commit comments

Comments
 (0)