fix(manager): remove stale plugins with missing directories (#481)

This commit is contained in:
Nguyễn Huỳnh Anh Khoa
2026-06-27 12:33:06 +07:00
committed by GitHub
parent fd0ca6d455
commit 1de0a5942c
3 changed files with 51 additions and 6 deletions
@@ -44,6 +44,19 @@ export function initGlobalListeners() {
color: "danger",
timeout: null,
message: `Failed to load plugin "${name}": ${err}`,
action: ({ hide }) => (
<Button
size="xs"
color="danger"
variant="border"
onClick={() => {
hide();
openSettings.mutate("plugins:installed");
}}
>
Manage Plugins
</Button>
),
});
}
});