We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09364a7 commit e123bfcCopy full SHA for e123bfc
src/data.preview.ts
@@ -345,9 +345,11 @@ export class DataPreview {
345
const dataLoadTime: number = Math.round(
346
(this._dataLoadEndTime.getTime() - this._dataLoadStartTime.getTime()) / 1000 // msecs
347
);
348
- const fileSizeString: string = fileUtils.formatBytes(this._fileSize, 2); // decimals
349
- this.updateStatus(
350
- `${dataStats}\tFileSize: ${fileSizeString}\tLoadTime: ${dataLoadTime.toLocaleString()} sec`);
+ let fileSizeString: string = '';
+ if (!this._isRemoteData) {
+ fileSizeString = `\tFileSize: ${fileUtils.formatBytes(this._fileSize, 2)}`; // decimals
351
+ }
352
+ this.updateStatus(`${dataStats}${fileSizeString}\tLoadTime: ${dataLoadTime.toLocaleString()} sec`);
353
}
354
355
/**
0 commit comments