1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00
This commit is contained in:
Andrew Simachev 2024-03-11 17:33:24 +01:00
commit aa1a47a34e
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
108 changed files with 1590 additions and 1240 deletions

View file

@ -143,9 +143,10 @@ function createWindow () {
};
if (Api[cmd]) {
Api[cmd].apply(Api, [ win ].concat(args || []));
return Api[cmd].apply(Api, [ win ].concat(args || []));
} else {
console.error('[Api] method not defined:', cmd);
return null;
};
});
};