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 | e1b260e3e04341703944a9c1167c2546ff514fb9 (patch) | |
tree | ebff0bd4834b9e3288cd511b23e05f62d4d438c3 /Timeline/ClientApp/src | |
parent | a69514dbef806bf1ee531cac3a7a9fee18162f2b (diff) | |
download | timeline-e1b260e3e04341703944a9c1167c2546ff514fb9.tar.gz timeline-e1b260e3e04341703944a9c1167c2546ff514fb9.tar.bz2 timeline-e1b260e3e04341703944a9c1167c2546ff514fb9.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)
);
}
|