We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64e2659 commit 6426e9dCopy full SHA for 6426e9d
plugins/plugin-codeflare-dashboard/src/controller/dashboard/status/Live.ts
@@ -42,10 +42,10 @@ export default class Live {
42
/** Model of the lines of output */
43
private readonly lines = new Heap<Line>((a, b) => {
44
if (a.line === b.line) {
45
- return 0
+ return a.timestamp - b.timestamp
46
}
47
48
- const stateDiff = a.stateRank - b.stateRank
+ const stateDiff = b.stateRank - a.stateRank
49
if (stateDiff !== 0) {
50
return stateDiff
51
} else {
@@ -160,7 +160,7 @@ export default class Live {
160
161
return this.lines
162
.toArray()
163
- .slice(0, 18)
+ .slice(0, 6)
164
.sort((a, b) => a.timestamp - b.timestamp)
165
166
0 commit comments