@recogito/recogito-client-core
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "@recogito/recogito-client-core", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Core functions, classes and components for RecogitoJS", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -133,3 +133,3 @@ import React from 'preact/compat'; | ||
// opened for editing) | ||
if (currentAnnotation.bodies.length === 0) { | ||
if (currentAnnotation.bodies.length === 0 && !props.config.allowEmpty) { | ||
if (currentAnnotation.isSelection) | ||
@@ -136,0 +136,0 @@ onCancel(); |
1159886