@softwareone/spi-sv5-library 1.7.6 → 1.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</a>
|
|
18
18
|
<ul class="links">
|
|
19
19
|
<li>
|
|
20
|
-
<a href="mailto:
|
|
20
|
+
<a href="mailto:servicedesk@softwareone.com" title="servicedesk@softwareone.com">Support</a>
|
|
21
21
|
</li>
|
|
22
22
|
<li>
|
|
23
23
|
<a
|
|
@@ -29,12 +29,7 @@
|
|
|
29
29
|
</li>
|
|
30
30
|
</ul>
|
|
31
31
|
<ul class="legal">
|
|
32
|
-
<li>
|
|
33
|
-
Shared Platform & Integrations - <a
|
|
34
|
-
href="mailto:servicedesk@softwareone.com"
|
|
35
|
-
title="servicedesk@softwareone.com">servicedesk@softwareone.com</a
|
|
36
|
-
>
|
|
37
|
-
</li>
|
|
32
|
+
<li>Shared Platform & Integrations</li>
|
|
38
33
|
<li>© 2025 SoftwareOne. All rights reserved</li>
|
|
39
34
|
</ul>
|
|
40
35
|
</footer>
|
|
@@ -95,8 +95,10 @@
|
|
|
95
95
|
|
|
96
96
|
const getErrors = (
|
|
97
97
|
errors: ValidationErrors<Record<string, unknown>>,
|
|
98
|
-
tained: TaintedFields<Record<string, unknown>>
|
|
98
|
+
tained: TaintedFields<Record<string, unknown>> | undefined
|
|
99
99
|
) => {
|
|
100
|
+
if (!tained) return {} as FormError<Schema>;
|
|
101
|
+
|
|
100
102
|
const errorEntries = Object.entries(errors)
|
|
101
103
|
.filter(([field]) => Object.hasOwn(tained, field))
|
|
102
104
|
.map(([field, error]) => [field, error && '_errors' in error ? error._errors : error]);
|
|
@@ -135,7 +137,7 @@
|
|
|
135
137
|
) {
|
|
136
138
|
$errors = getErrors(
|
|
137
139
|
$superFormErrors,
|
|
138
|
-
untrack(() => $superFormTained
|
|
140
|
+
untrack(() => $superFormTained)
|
|
139
141
|
);
|
|
140
142
|
}
|
|
141
143
|
});
|