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.
- package/esm2020/src/nameserver-history-viewer/components/nameserver-history.component.mjs +2 -1
- package/fesm2015/ngx-hana-nameserver-history-viewer.mjs +1 -0
- package/fesm2015/ngx-hana-nameserver-history-viewer.mjs.map +1 -1
- package/fesm2020/ngx-hana-nameserver-history-viewer.mjs +1 -0
- package/fesm2020/ngx-hana-nameserver-history-viewer.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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)] } };
|