ngx-hana-nameserver-history-viewer 1.2.1-2.beta → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3538,6 +3538,7 @@ class NameServerHistoryComponent {
3538
3538
  }
3539
3539
  async ngOnChanges(changes) {
3540
3540
  const fbc = changes.fileBuffer;
3541
+ // !isFile(fbc.currentValue) --> only show chart when it's not a file -> it's a file, means the object has already been processed
3541
3542
  if (fbc && fbc.currentValue && fbc.currentValue !== fbc.previousValue && !isFile(fbc.currentValue)) {
3542
3543
  // simulate selecting file
3543
3544
  const simulatedEvent = { target: { files: [blobToFile(fbc.currentValue, this.streamModeFileName)] } };