when uninstall plugins, refresh plugins index instead of reloading entire prefs pane

This commit is contained in:
Andrew Dolgov 2021-11-15 20:18:37 +03:00
parent ef1e2a8b2f
commit 8cd69fe15c
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ const Helpers = {
xhr.json("backend.php", {op: "pref-prefs", method: "uninstallPlugin", plugin: plugin}, (reply) => {
if (reply && reply.status == 1)
Helpers.Prefs.refresh();
Helpers.Plugins.reload();
else {
Notify.error("Plugin uninstallation failed.");
}