Skip to content

Commit cbc0e3a

Browse files
committed
fix: filter non-query ops from web timeline to match TUI/Stats behavior
1 parent c6cefe4 commit cbc0e3a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

web/static/app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,10 @@ const TL_COLORS = {
799799
error: '#f44747',
800800
};
801801

802+
const TL_QUERY_OPS = new Set(['Query', 'Exec', 'Execute']);
803+
802804
function renderTimeline() {
803-
let filtered = getFiltered();
805+
let filtered = getFiltered().filter(({ev}) => TL_QUERY_OPS.has(ev.op));
804806
if (filtered.length === 0) {
805807
statsEl.textContent = '0 queries';
806808
const dpr = window.devicePixelRatio || 1;

0 commit comments

Comments
 (0)