mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-16 04:25:34 +00:00
Autocomplete returns effective number of added structures
This commit is contained in:
2
index.js
2
index.js
@@ -390,7 +390,7 @@ class Pass {
|
|||||||
this.props["barcodes"] = this.__barcodeAutogen(props[0]);
|
this.props["barcodes"] = this.__barcodeAutogen(props[0]);
|
||||||
|
|
||||||
return Object.assign({
|
return Object.assign({
|
||||||
length: 4,
|
length: 4 - props.length,
|
||||||
backward: this.__barcodeChooseBackward.bind(this)
|
backward: this.__barcodeChooseBackward.bind(this)
|
||||||
}, this);
|
}, this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user