Skip to content

Conversation

@TejasMankeshwar
Copy link

Motivation and context

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@sonarqubecloud
Copy link

Comment on lines +11 to +29
export const JobNotFoundComponent = React.memo((): JSX.Element => {
const history = useHistory();
const handleGoToJobs = () => {
history.push('/jobs');
};
return (
<Result
className='cvat-not-found'
status='404'
title='Sorry, but this job was not found'
subTitle='Please, be sure information you tried to get exist and you have access'
extra={
<Button type='primary' onClick={handleGoToJobs}>
Go to Jobs (reset filters)
</Button>
}
/>
);
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be covered in #10028 with other not found components, I suggest to remove it

});

// If skeleton, add sublabel (point) attributes as nested fields
if (label.type === 'skeleton' && Array.isArray(label.sublabels)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (label.type === 'skeleton' && Array.isArray(label.sublabels)) {
if (label.type === 'skeleton' && Array.isArray(label.structure.sublabels)) {


// If skeleton, add sublabel (point) attributes as nested fields
if (label.type === 'skeleton' && Array.isArray(label.sublabels)) {
label.sublabels.forEach((sublabel: any) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add type

@klakhov klakhov changed the title Added the go to tasks functionality! Added attribute filter for skeleton points Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants