From 2ca98a87d298586df331fda2fedfade5375c0cac Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 15 Nov 2022 09:28:06 +0100 Subject: Fix Settings UI on canary --- src/webpack/common.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/webpack/common.tsx') diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index 1dbc836..f929350 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -142,14 +142,14 @@ waitFor(filters.byCode("helpdeskArticleId"), m => Switch = m); waitFor(["Positions", "Colors"], m => Tooltip = m); waitFor(m => m.Types?.PRIMARY === "cardPrimary", m => Card = m); -waitFor(m => m.Tags && filters.byCode("errorSeparator")(m), m => Forms.FormTitle = m); -waitFor(m => m.Tags && filters.byCode("titleClassName", "sectionTitle")(m), m => Forms.FormSection = m); +waitFor(m => filters.byCode("errorSeparator")(m), m => Forms.FormTitle = m); +waitFor(m => filters.byCode("titleClassName", "sectionTitle")(m), m => Forms.FormSection = m); waitFor(m => m.Types?.INPUT_PLACEHOLDER, m => Forms.FormText = m); waitFor(m => { if (typeof m !== "function") return false; const s = m.toString(); - return s.length < 200 && s.includes("divider"); + return s.length < 200 && s.includes("().divider"); }, m => Forms.FormDivider = m); // This is the same module but this is easier -- cgit