mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Changed implementation of FieldsArray to accept passInstance instead of pool, to check frozen instance
This commit is contained in:
@@ -305,11 +305,11 @@ export default class PKPass extends Bundle {
|
||||
|
||||
this[passTypeSymbol] = type;
|
||||
this[propsSymbol][this[passTypeSymbol]] = {
|
||||
headerFields /******/: new FieldsArray(this[fieldKeysPoolSymbol]),
|
||||
primaryFields /*****/: new FieldsArray(this[fieldKeysPoolSymbol]),
|
||||
secondaryFields /***/: new FieldsArray(this[fieldKeysPoolSymbol]),
|
||||
auxiliaryFields /***/: new FieldsArray(this[fieldKeysPoolSymbol]),
|
||||
backFields /********/: new FieldsArray(this[fieldKeysPoolSymbol]),
|
||||
headerFields /******/: new FieldsArray(this),
|
||||
primaryFields /*****/: new FieldsArray(this),
|
||||
secondaryFields /***/: new FieldsArray(this),
|
||||
auxiliaryFields /***/: new FieldsArray(this),
|
||||
backFields /********/: new FieldsArray(this),
|
||||
transitType: undefined,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user