feat: improve types

This commit is contained in:
Dominik Pschenitschni 2022-07-20 21:15:35 +02:00
parent 42e72d14a4
commit c9e85cb52b
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
14 changed files with 52 additions and 45 deletions

View file

@ -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)