diff options
author | crupest <crupest@outlook.com> | 2020-08-10 16:10:05 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-10 16:10:05 +0800 |
commit | 38f4fdc3229638059953f9e058d49ad7c81c0ca9 (patch) | |
tree | 1e7ab4817e78c7b362a25a219719b824dc88142e /Timeline/ClientApp/src | |
parent | 40d7ad8fa1686bcc78d3c0224beeec0ac9fd31b6 (diff) | |
download | timeline-38f4fdc3229638059953f9e058d49ad7c81c0ca9.tar.gz timeline-38f4fdc3229638059953f9e058d49ad7c81c0ca9.tar.bz2 timeline-38f4fdc3229638059953f9e058d49ad7c81c0ca9.zip |
Make data line not destroyable when syncing.
Diffstat (limited to 'Timeline/ClientApp/src')
-rw-r--r-- | Timeline/ClientApp/src/app/data/DataHub.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/data/DataHub.ts b/Timeline/ClientApp/src/app/data/DataHub.ts index fd6b65d7..bfb96d1a 100644 --- a/Timeline/ClientApp/src/app/data/DataHub.ts +++ b/Timeline/ClientApp/src/app/data/DataHub.ts @@ -88,6 +88,7 @@ export class DataLine<TData> { return (
this._observers.length === 0 &&
+ !this._syncingSubject.value &&
(customDestroyable != null ? customDestroyable(this._current) : true)
);
}
|