diff options
| author | Jesse Bofill <jesse_bofill@yahoo.com> | 2025-10-06 15:39:59 -0600 |
|---|---|---|
| committer | Jesse Bofill <jesse_bofill@yahoo.com> | 2025-10-06 15:39:59 -0600 |
| commit | d2b6999520c7e7425a757644c30bc6b494f57b8c (patch) | |
| tree | 20954df00c51c4a42411b71defcd60a70c4daf33 /frontend/src/components/settings | |
| parent | 1ae6519209c9bf079d8dff80d5bceb5a847b08b1 (diff) | |
| download | decky-loader-d2b6999520c7e7425a757644c30bc6b494f57b8c.tar.gz decky-loader-d2b6999520c7e7425a757644c30bc6b494f57b8c.zip | |
fix mistakes
Diffstat (limited to 'frontend/src/components/settings')
| -rw-r--r-- | frontend/src/components/settings/pages/plugin_list/index.tsx | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/frontend/src/components/settings/pages/plugin_list/index.tsx b/frontend/src/components/settings/pages/plugin_list/index.tsx index f13cbe2b..da70f4ca 100644 --- a/frontend/src/components/settings/pages/plugin_list/index.tsx +++ b/frontend/src/components/settings/pages/plugin_list/index.tsx @@ -83,21 +83,22 @@ function PluginInteractables(props: { entry: ReorderableEntry<PluginTableData> } > {t('PluginListIndex.uninstall')} </MenuItem> - {disabled ? <MenuItem - onSelected={() => - DeckyPluginLoader.disablePlugin( - name, - t('PluginLoader.plugin_disable.title', { name }), - t('PluginLoader.plugin_disable.button'), - t('PluginLoader.plugin_disable.desc', { name }), - ) - } - > - {t('PluginListIndex.plugin_disable')} - </MenuItem> : + {disabled ? // implement enabler <> - </> + </> : + <MenuItem + onSelected={() => + DeckyPluginLoader.disablePlugin( + name, + t('PluginLoader.plugin_disable.title', { name }), + t('PluginLoader.plugin_disable.button'), + t('PluginLoader.plugin_disable.desc', { name }), + ) + } + > + {t('PluginListIndex.plugin_disable')} + </MenuItem> } {hidden ? ( <MenuItem onSelected={onShow}>{t('PluginListIndex.show')}</MenuItem> |
