Skip to content

Commit

Permalink
🐛 修复分离窗口后主程序失去响应的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
muwoo committed Oct 20, 2023
1 parent c0aaae0 commit 5553170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rubick",
"version": "4.0.7",
"version": "4.0.8",
"author": "muwoo <2424880409@qq.com>",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/main/common/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class API extends DBInstance {
}

public getFeatures() {
return this.currentPlugin.features;
return this.currentPlugin?.features;
}

public setFeature({ data }, window) {
Expand Down

0 comments on commit 5553170

Please sign in to comment.