@integry/sdk 4.6.68 → 4.6.70
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.
package/package.json
CHANGED
|
@@ -29,6 +29,7 @@ export type DynamicFieldsProps = {
|
|
|
29
29
|
parentFieldChanged?: boolean;
|
|
30
30
|
onChangeCallback?: (val: any) => void;
|
|
31
31
|
objectValue?: any;
|
|
32
|
+
tagsTree?: any;
|
|
32
33
|
} & StoreType;
|
|
33
34
|
|
|
34
35
|
interface DynamicDataItem {
|
|
@@ -56,6 +57,7 @@ const DynamicFields = (props: DynamicFieldsProps) => {
|
|
|
56
57
|
parentFieldChanged = false,
|
|
57
58
|
onChangeCallback = () => null,
|
|
58
59
|
objectValue = null,
|
|
60
|
+
tagsTree = null,
|
|
59
61
|
} = props;
|
|
60
62
|
const [dynamicItems, setDynamicItems] = useState<DynamicDataItem[]>([]);
|
|
61
63
|
const [loading, setLoading] = useState<boolean>(true);
|
|
@@ -85,6 +87,7 @@ const DynamicFields = (props: DynamicFieldsProps) => {
|
|
|
85
87
|
.then((res) => {
|
|
86
88
|
if (res) {
|
|
87
89
|
if (res) {
|
|
90
|
+
setIsErrorOnLoadingCustomFields(false);
|
|
88
91
|
if (Array.isArray(res)) {
|
|
89
92
|
setDynamicItems(res);
|
|
90
93
|
} else {
|
|
@@ -114,6 +117,7 @@ const DynamicFields = (props: DynamicFieldsProps) => {
|
|
|
114
117
|
)
|
|
115
118
|
.then((res) => {
|
|
116
119
|
if (res) {
|
|
120
|
+
setIsErrorOnLoadingCustomFields(false);
|
|
117
121
|
if (Array.isArray(res)) {
|
|
118
122
|
setDynamicItems(res);
|
|
119
123
|
} else {
|
|
@@ -212,6 +216,7 @@ const DynamicFields = (props: DynamicFieldsProps) => {
|
|
|
212
216
|
activityOutputDataRaw=${activityOutputDataRaw}
|
|
213
217
|
refreshRootStepData=${refreshRootStepData}
|
|
214
218
|
fieldId=${el.id || ''}
|
|
219
|
+
tagsTree=${tagsTree}
|
|
215
220
|
/>
|
|
216
221
|
</div>
|
|
217
222
|
`;
|