From eb689f3535ec7804c45a6f95d02f09e6c2a6f524 Mon Sep 17 00:00:00 2001
From: Val Alexander <68980965+BunsDev@users.noreply.github.com>
Date: Wed, 22 Apr 2026 16:52:53 -0500
Subject: [PATCH] fix(ui): shorten Control UI clear action label (#70355)
---
ui/src/ui/views/config.browser.test.ts | 2 +-
ui/src/ui/views/config.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/src/ui/views/config.browser.test.ts b/ui/src/ui/views/config.browser.test.ts
index a830c713953..d4aff3a73ec 100644
--- a/ui/src/ui/views/config.browser.test.ts
+++ b/ui/src/ui/views/config.browser.test.ts
@@ -56,7 +56,7 @@ describe("config view", () => {
} {
const buttons = Array.from(container.querySelectorAll("button"));
return {
- clearButton: buttons.find((btn) => btn.textContent?.trim() === "Clear pending updates"),
+ clearButton: buttons.find((btn) => btn.textContent?.trim() === "Clear"),
saveButton: buttons.find((btn) => btn.textContent?.trim() === "Save"),
applyButton: buttons.find((btn) => btn.textContent?.trim() === "Apply"),
};
diff --git a/ui/src/ui/views/config.ts b/ui/src/ui/views/config.ts
index 62befcaf7cf..cbf09d08be0 100644
--- a/ui/src/ui/views/config.ts
+++ b/ui/src/ui/views/config.ts
@@ -961,7 +961,7 @@ export function renderConfig(props: ConfigProps) {
${props.loading ? t("common.loading") : t("common.reload")}