Don't unnecessarily create functions many times

This commit is contained in:
Vendicated 2022-11-15 09:30:33 +01:00
parent 2ca98a87d2
commit be088f9072
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3

@ -142,8 +142,8 @@ waitFor(filters.byCode("helpdeskArticleId"), m => Switch = m);
waitFor(["Positions", "Colors"], m => Tooltip = m); waitFor(["Positions", "Colors"], m => Tooltip = m);
waitFor(m => m.Types?.PRIMARY === "cardPrimary", m => Card = m); waitFor(m => m.Types?.PRIMARY === "cardPrimary", m => Card = m);
waitFor(m => filters.byCode("errorSeparator")(m), m => Forms.FormTitle = m); waitFor(filters.byCode("errorSeparator"), m => Forms.FormTitle = m);
waitFor(m => filters.byCode("titleClassName", "sectionTitle")(m), m => Forms.FormSection = m); waitFor(filters.byCode("titleClassName", "sectionTitle"), m => Forms.FormSection = m);
waitFor(m => m.Types?.INPUT_PLACEHOLDER, m => Forms.FormText = m); waitFor(m => m.Types?.INPUT_PLACEHOLDER, m => Forms.FormText = m);
waitFor(m => { waitFor(m => {