Fix Settings UI on canary
This commit is contained in:
parent
b49ac6b541
commit
2ca98a87d2
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue