Commit f6b0a765 authored by nanahira's avatar nanahira

fix

parent 35632e77
Pipeline #5039 passed with stages
in 5 minutes and 41 seconds
...@@ -281,7 +281,7 @@ export class YGOProComponent implements OnInit, OnDestroy { ...@@ -281,7 +281,7 @@ export class YGOProComponent implements OnInit, OnDestroy {
getYGOProData(app: App) { getYGOProData(app: App) {
const ygoproData = <YGOProData>app.data; const ygoproData = <YGOProData>app.data;
for (const child of this.appsService.findChildren(app)) { for (const child of this.appsService.findChildren(app)) {
if (child.isYGOPro) { if (child.isYGOPro && child.isInstalled() && child.isReady()) {
const childData = this.getYGOProData(child); const childData = this.getYGOProData(child);
_.mergeWith(ygoproData, childData, (objValue, srcValue) => { _.mergeWith(ygoproData, childData, (objValue, srcValue) => {
if (_.isArray(objValue)) { if (_.isArray(objValue)) {
......
{ {
"name": "mycard", "name": "mycard",
"version": "3.0.53", "version": "3.0.54",
"description": "moecube", "description": "moecube",
"keywords": [], "keywords": [],
"author": "zh99998 <zh99998@gmail.com>", "author": "zh99998 <zh99998@gmail.com>",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment