feat: improve types
This commit is contained in:
parent
42e72d14a4
commit
c9e85cb52b
14 changed files with 52 additions and 45 deletions
|
|
@ -117,7 +117,7 @@ async function removeLabel(label: LabelModel) {
|
|||
|
||||
for (const l in labels.value) {
|
||||
if (labels.value[l].id === label.id) {
|
||||
labels.value.splice(l, 1)
|
||||
labels.value.splice(l, 1) // FIXME: l should be index
|
||||
}
|
||||
}
|
||||
emit('update:modelValue', labels.value)
|
||||
|
|
|
|||
Reference in a new issue