From f6a295f291b9da5baff772a79b39c108679019ae Mon Sep 17 00:00:00 2001 From: Dan Fey Date: Mon, 26 Jun 2023 17:38:26 -0700 Subject: [PATCH] fixing off by 1 error in summary counts (#177) --- frontend/src/lib/store/images.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/lib/store/images.ts b/frontend/src/lib/store/images.ts index 74179cd..ac0cac4 100644 --- a/frontend/src/lib/store/images.ts +++ b/frontend/src/lib/store/images.ts @@ -256,7 +256,6 @@ export const useImageStore = defineStore< }) if (s == undefined) { s = new TrashObject(meta.label ?? '') - s.count++ this.summary.detected_objects.push(s) }