File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/image-annotator-react/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ export function AttributePanel() {
313313 } ) ;
314314 }
315315
316- if ( config ?. line || config ?. point || config ?. polygon || config ?. rect || config ?. cuboid ) {
316+ if ( config ?. line || config ?. point || config ?. polygon || config ?. rect || config ?. cuboid || config ?. relation ) {
317317 _titles . push ( {
318318 title : t ( 'labels' ) ,
319319 key : 'label' as const ,
@@ -333,6 +333,7 @@ export function AttributePanel() {
333333 config ?. polygon ,
334334 config ?. rect ,
335335 config ?. cuboid ,
336+ config ?. relation ,
336337 globalAnnotations ,
337338 sortedImageAnnotations . length ,
338339 ] ) ;
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import type {
1616 ToolName ,
1717 Annotator as ImageAnnotatorClass ,
1818 AnnotationToolData ,
19- RelationData ,
2019 EditType ,
2120} from '@labelu/image' ;
2221import cloneDeep from 'lodash.clonedeep' ;
You can’t perform that action at this time.
0 commit comments