From 0971cdb7809ea8cbcca0ea1232453d218ad51222 Mon Sep 17 00:00:00 2001 From: alexandercerutti Date: Wed, 12 Sep 2018 00:53:06 +0200 Subject: [PATCH] Autocomplete returns effective number of added structures --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e30c293..1dafde8 100644 --- a/index.js +++ b/index.js @@ -390,7 +390,7 @@ class Pass { this.props["barcodes"] = this.__barcodeAutogen(props[0]); return Object.assign({ - length: 4, + length: 4 - props.length, backward: this.__barcodeChooseBackward.bind(this) }, this); }