Linter fixes

This commit is contained in:
Richard Bowman 2024-01-03 21:53:14 +00:00
parent 5ca8070bc8
commit 40580327c6
2 changed files with 9 additions and 14 deletions

View file

@ -42,11 +42,6 @@ export default {
propertyControl
},
data: function() {
return {
};
},
computed: {
backgroundFractionUri() {
return this.thingActionUrl("background_detect", "background_fraction");
@ -58,9 +53,9 @@ export default {
methods: {
alertBackgroundFraction(r) {
let fraction = r.output
let percentage = (fraction * 100).toFixed(1)
this.modalNotify(`Current image is ${percentage}% background.`)
let fraction = r.output;
let percentage = (fraction * 100).toFixed(1);
this.modalNotify(`Current image is ${percentage}% background.`);
}
}
};