mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
fixed initial demo import
This commit is contained in:
@@ -34,7 +34,7 @@ class TaskContext {
|
||||
increaseProgressCount() {
|
||||
this.progressCount++;
|
||||
|
||||
if (Date.now() - this.lastSentCountTs >= 300) {
|
||||
if (Date.now() - this.lastSentCountTs >= 300 && this.taskId !== 'initial-demo-import') {
|
||||
this.lastSentCountTs = Date.now();
|
||||
|
||||
ws.sendMessageToAllClients({
|
||||
@@ -68,4 +68,4 @@ class TaskContext {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = TaskContext;
|
||||
module.exports = TaskContext;
|
||||
|
||||
Reference in New Issue
Block a user