We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe237f7 commit b3e9946Copy full SHA for b3e9946
horreum-web/src/domain/schemas/Labels.tsx
@@ -75,7 +75,7 @@ export default function Labels({ schemaId, schemaUri, funcsRef }: LabelsProps) {
75
})
76
),
77
...deleted.map(l =>
78
- schemaApi.deleteLabel(l.id, l.schemaId).catch(e => {
+ schemaApi.deleteLabel(l.schemaId, l.id).catch(e => {
79
setLabels([...labels, l])
80
throw e
81
0 commit comments