aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-31 00:37:10 +0800
committercrupest <crupest@outlook.com>2020-10-31 00:37:10 +0800
commit7ce0846d9ec968da3ea4f7ebcc6db26db8e49089 (patch)
treeee006874b0c93e9bfc76f141a092a8b9585a1f95 /FrontEnd/src
parentb6495ef9f7d6466f9347b02e83ec0935d63af23e (diff)
downloadtimeline-7ce0846d9ec968da3ea4f7ebcc6db26db8e49089.tar.gz
timeline-7ce0846d9ec968da3ea4f7ebcc6db26db8e49089.tar.bz2
timeline-7ce0846d9ec968da3ea4f7ebcc6db26db8e49089.zip
Update packages.
Diffstat (limited to 'FrontEnd/src')
-rw-r--r--FrontEnd/src/app/services/DataHub.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/src/app/services/DataHub.ts b/FrontEnd/src/app/services/DataHub.ts
index 93a9b41f..4d618db6 100644
--- a/FrontEnd/src/app/services/DataHub.ts
+++ b/FrontEnd/src/app/services/DataHub.ts
@@ -22,7 +22,7 @@ export class DataLine<TData> {
}
) {
if (config.disableInitSync !== true) {
- setImmediate(() => void this.sync());
+ setTimeout(() => void this.sync());
}
}