Skip to content

Commit fd7695d

Browse files
committed
Fix lint-js
1 parent 8716cf7 commit fd7695d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

resources/assets/js/annotations/annotatorContainer.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ export default {
467467
.then((onnxModel) => {
468468
this.onnxModel = onnxModel;
469469
})
470-
.catch((error) => {
470+
.catch(() => {
471471
InferenceSession.create(modelPath, { executionProviders: ['wasm'] })
472472
.then((onnxModel) => {
473473
this.onnxModel = onnxModel;
@@ -868,7 +868,6 @@ export default {
868868
Events.$emit('annotations.map.init', this.$refs.canvas.map);
869869
870870
// Load the onnx model
871-
console.log(this.onnxModel);
872871
this.initONNXModel();
873872
},
874873
};

resources/assets/js/annotations/components/labelsTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default {
6060
this.labelBOTIsOn = false;
6161
this.$emit('labelbot', false);
6262
return;
63-
};
63+
}
6464
6565
if (this.selectedLabel) {
6666
Messages.warning("LabelBOT can't be activated! Please deselect the selected label!");

0 commit comments

Comments
 (0)