From 53c4e5fe9c62748d0fd30cc57657406176f67754 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Wed, 21 Oct 2026 11:55:50 -0500 Subject: [PATCH] fix: let the repair screen turn the layout plugin back on --- src/ui/locales/en.json | 2 ++ src/ui/look/RepairView.tsx | 12 ++++++++++ src/ui/look/layout-status.ts | 4 +++- src/ui/tests/look/RepairView.test.tsx | 30 ++++++++++++++++++++++++- src/ui/tests/look/layout-status.test.ts | 13 +++++++++++ 5 files changed, 59 insertions(+), 2 deletions(-) diff --git a/src/ui/locales/en.json b/src/ui/locales/en.json index 2d19355f9..8bbfc961b 100644 --- a/src/ui/locales/en.json +++ b/src/ui/locales/en.json @@ -1098,6 +1098,8 @@ "resetEveryone": "Reset the default for everyone", "update": "Update {{name}} to {{version}}", "disable": "Turn off {{name}}", + "enable": "Turn on {{name}}", + "startAgain": "Start {{name}} again", "install": "Find layouts and themes", "installTitle": "Layouts and themes", "installButton": "Install", diff --git a/src/ui/look/RepairView.tsx b/src/ui/look/RepairView.tsx index 72cbfc70d..e4487a91a 100644 --- a/src/ui/look/RepairView.tsx +++ b/src/ui/look/RepairView.tsx @@ -81,6 +81,18 @@ function AdminTools({ })} )} + {entry?.installed && !entry.enabled && ( + + )} {entry?.installed && entry.enabled && !entry.managedByServer && (