summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals/PluginUninstallModal.tsx
diff options
context:
space:
mode:
authorAndrew Moore <andrewm.finewolf@gmail.com>2024-02-14 23:45:55 -0500
committerGitHub <noreply@github.com>2024-02-14 20:45:55 -0800
commit7d6b8805dfc3b38515bf9752d85bce8f2c992179 (patch)
tree1f2d369c9ab25fe24738c4c8d228ed98244cc5c5 /frontend/src/components/modals/PluginUninstallModal.tsx
parent0dce3a8cbe5c1c26c26530a3879f0c2d2d50f9af (diff)
downloaddecky-loader-2.11.0-pre3.tar.gz
decky-loader-2.11.0-pre3.zip
[Feature] Freeze updates for devs (#582)v2.11.0-pre3
Diffstat (limited to 'frontend/src/components/modals/PluginUninstallModal.tsx')
-rw-r--r--frontend/src/components/modals/PluginUninstallModal.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/components/modals/PluginUninstallModal.tsx b/frontend/src/components/modals/PluginUninstallModal.tsx
index e7ecbc99..5de0085e 100644
--- a/frontend/src/components/modals/PluginUninstallModal.tsx
+++ b/frontend/src/components/modals/PluginUninstallModal.tsx
@@ -15,8 +15,9 @@ const PluginUninstallModal: FC<PluginUninstallModalProps> = ({ name, title, butt
closeModal={closeModal}
onOK={async () => {
await window.DeckyPluginLoader.callServerMethod('uninstall_plugin', { name });
- // uninstalling a plugin resets the hidden setting for it server-side
+ // uninstalling a plugin resets the frozen and hidden setting for it server-side
// we invalidate here so if you re-install it, you won't have an out-of-date hidden filter
+ await window.DeckyPluginLoader.frozenPluginsService.invalidate();
await window.DeckyPluginLoader.hiddenPluginsService.invalidate();
}}
strTitle={title}