Fixed issue 2516

main
Boris Sekachev 5 years ago
parent d6ac8cc5be
commit fc1c60f735

@ -510,13 +510,13 @@ export function removeObjectAsync(sessionInstance: any, objectState: any, force:
},
});
} else {
throw new Error('Could not remove the object. Is it locked?');
throw new Error('Could not remove the locked object');
}
} catch (error) {
dispatch({
type: AnnotationActionTypes.REMOVE_OBJECT_FAILED,
payload: {
objectState,
error,
},
});
}

Loading…
Cancel
Save