Skip to content

Commit

Permalink
re-introduce
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasneirynck committed May 9, 2024
1 parent e737aa7 commit a243833
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/plugins/data/common/search/tabify/response_writer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,14 @@ export class TabbedAggResponseWriter {
rowBuffer[metric.id] = metric.value;
}

const isPartialRow = !this.columns.every((column) => rowBuffer.hasOwnProperty(column.id));
let isPartialRow = false;
for (let i = 0; i < this.columns.length; i++) {
const column = this.columns[i];
if (!rowBuffer.hasOwnProperty(column.id)) {
isPartialRow = true;
break;
}
}

const removePartial = isPartialRow && !this.partialRows;
if (!isEmpty(rowBuffer) && !removePartial) {
Expand Down

0 comments on commit a243833

Please sign in to comment.