mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 21:25:26 +00:00
Improved passFile props assignment
This commit is contained in:
@@ -539,7 +539,7 @@ export class Pass {
|
|||||||
.filter(v => this[passProps][v] && !isValidRGB(this[passProps][v]))
|
.filter(v => this[passProps][v] && !isValidRGB(this[passProps][v]))
|
||||||
.forEach(v => delete this[passProps][v]);
|
.forEach(v => delete this[passProps][v]);
|
||||||
|
|
||||||
passFile = { ...passFile, ...this[passProps] };
|
Object.assign(passFile, this[passProps]);
|
||||||
}
|
}
|
||||||
|
|
||||||
this._fields.forEach(field => {
|
this._fields.forEach(field => {
|
||||||
|
|||||||
Reference in New Issue
Block a user