Merge branch 'fe/fix/label-save' into 'fe/develop'
Fix: 레이블 저장 실패 문제 수정 See merge request s11-s-project/S11P21S002!229
This commit is contained in:
commit
9dedbd6599
@ -138,7 +138,7 @@ export default function ImageCanvas() {
|
||||
const id = labels.length;
|
||||
addLabel({
|
||||
id: id,
|
||||
categoryId: 0,
|
||||
categoryId: categories[0]!.id,
|
||||
type: 'polygon',
|
||||
color: `#${color}`,
|
||||
coordinates: polygonPoints.slice(0, -1),
|
||||
@ -165,7 +165,7 @@ export default function ImageCanvas() {
|
||||
const id = labels.length;
|
||||
addLabel({
|
||||
id: id,
|
||||
categoryId: 0,
|
||||
categoryId: categories[0]!.id,
|
||||
type: 'rectangle',
|
||||
color: `#${color}`,
|
||||
coordinates: rectPoints,
|
||||
|
Loading…
Reference in New Issue
Block a user