Skip to content

Commit

Permalink
CB-4696 extend isText check to show quota message
Browse files Browse the repository at this point in the history
  • Loading branch information
devnaumov committed Mar 8, 2024
1 parent a101a92 commit 8ff2449
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,19 @@ export class ResultSetFormatAction

const column = this.view.getColumn(key.column);

return column?.dataKind?.toLocaleLowerCase() === 'string';
if (column?.dataKind?.toLocaleLowerCase() === 'string') {
return true;
}

if (key.row && !this.isBinary(key)) {
const value = this.get(key as IResultSetElementKey);

if (isResultSetContentValue(value)) {
return value.text !== undefined;
}
}

return false;
}

getHeaders(): string[] {
Expand Down

0 comments on commit 8ff2449

Please sign in to comment.