mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
ui - fix missing external plugins data after deleting plugin
This commit is contained in:
parent
8ca8cb8852
commit
0d2d79d120
1 changed files with 1 additions and 1 deletions
|
|
@ -1182,7 +1182,7 @@ def plugins():
|
|||
if variables["type"] in ("core", "pro"):
|
||||
return redirect_flash_error(f"Can't delete {variables['type']} plugin {variables['name']}", "plugins", True)
|
||||
|
||||
plugins = app.config["CONFIG"].get_plugins(_type="external")
|
||||
plugins = app.config["CONFIG"].get_plugins(_type="external", with_data=True)
|
||||
for x, plugin in enumerate(plugins):
|
||||
if plugin["id"] == variables["name"]:
|
||||
del plugins[x]
|
||||
|
|
|
|||
Loading…
Reference in a new issue