Frontend: Fix label editing
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
b31508e4f3
commit
a0f94cd88e
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@
|
|||
</v-edit-dialog>
|
||||
</td>
|
||||
<td class="text-xs-left">{{ props.item.LabelSrc }}</td>
|
||||
<td class="text-xs-center">{{ 100 - props.item.LabelUncertainty }}%</td>
|
||||
<td class="text-xs-center">{{ 100 - props.item.Uncertainty }}%</td>
|
||||
<td class="text-xs-center">
|
||||
<v-btn v-if="disabled" icon small flat :ripple="false"
|
||||
class="action-view" title="Search"
|
||||
|
|
|
@ -231,7 +231,7 @@ class Photo extends RestModel {
|
|||
}
|
||||
|
||||
activateLabel(id) {
|
||||
return Api.put(this.getEntityResource() + "/label/" + id, {LabelUncertainty: 0})
|
||||
return Api.put(this.getEntityResource() + "/label/" + id, {Uncertainty: 0})
|
||||
.then((response) => Promise.resolve(this.setValues(response.data)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue