fix(tui): pin queued compaction below output (#36738)
This commit is contained in:
@@ -177,7 +177,9 @@ export function createSessionRows(sessionID: Accessor<string>) {
|
||||
}
|
||||
|
||||
const queuedStart = (rows: SessionRow[]) => {
|
||||
const index = rows.findIndex((row) => row.type === "message" && isPending(row.messageID))
|
||||
const index = rows.findIndex(
|
||||
(row) => row.type === "compaction-queued" || (row.type === "message" && isPending(row.messageID)),
|
||||
)
|
||||
return index === -1 ? rows.length : index
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user