Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: TypeError: Cannot read property 'toString' of undefined #2517

Merged
merged 3 commits into from
Dec 2, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed issue 2516
  • Loading branch information
bsekachev committed Dec 2, 2020
commit fc1c60f7354c0ac752f568e42aeef6f340b7bb70
4 changes: 2 additions & 2 deletions cvat-ui/src/actions/annotation-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
});
}
Expand Down