diff --git a/CHANGELOG.md b/CHANGELOG.md index 572682e67d33..739b782a6c9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 (). - HRNet CPU serverless function () +- Sending empty list of events + () ### Security - TDB diff --git a/cvat-core/package.json b/cvat-core/package.json index 2f7d3addb888..932c8284b9c7 100644 --- a/cvat-core/package.json +++ b/cvat-core/package.json @@ -1,6 +1,6 @@ { "name": "cvat-core", - "version": "9.1.0", + "version": "9.1.1", "description": "Part of Computer Vision Tool which presents an interface for client-side integration", "main": "src/api.ts", "scripts": { diff --git a/cvat-core/src/logger-storage.ts b/cvat-core/src/logger-storage.ts index a542a999e598..507aaeff1b5f 100644 --- a/cvat-core/src/logger-storage.ts +++ b/cvat-core/src/logger-storage.ts @@ -160,7 +160,7 @@ Object.defineProperties(LoggerStorage.prototype.save, { writable: false, enumerable: false, value: async function implementation() { - if (!this.collection) { + if (!this.collection.length) { return; }