datastake-daf 0.6.833 → 0.6.834
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/dist/components/index.js
CHANGED
|
@@ -42880,7 +42880,9 @@ function AuthForm(_ref) {
|
|
|
42880
42880
|
t = key => key,
|
|
42881
42881
|
executeRecaptcha = () => {},
|
|
42882
42882
|
getCurrentStep = () => {},
|
|
42883
|
-
theme
|
|
42883
|
+
theme,
|
|
42884
|
+
additionalItem,
|
|
42885
|
+
additionalItemConfig = {}
|
|
42884
42886
|
} = _ref;
|
|
42885
42887
|
const [formInstance] = antd.Form.useForm(form);
|
|
42886
42888
|
const [currentStep, setCurrentStep] = React.useState(0);
|
package/dist/pages/index.js
CHANGED
|
@@ -43333,8 +43333,12 @@ const getColumns$a = ({
|
|
|
43333
43333
|
className: "daf-default-cell"
|
|
43334
43334
|
});
|
|
43335
43335
|
}
|
|
43336
|
+
const subjectMap = {
|
|
43337
|
+
"corrective-actions": "correctiveActions",
|
|
43338
|
+
"activities": "activity"
|
|
43339
|
+
};
|
|
43336
43340
|
const eventCategory = findOptions(v, data?.options?.eventCategoryOptions || data?.options?.categoryOptions);
|
|
43337
|
-
const categoryValue = getEventCategoryBySubject(eventCategory,
|
|
43341
|
+
const categoryValue = getEventCategoryBySubject(eventCategory, subjectMap[subject], true);
|
|
43338
43342
|
return categoryValue ? /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
|
|
43339
43343
|
title: categoryValue,
|
|
43340
43344
|
children: categoryValue
|
package/package.json
CHANGED
|
@@ -109,9 +109,12 @@ export const getColumns = ({t, goTo, user, options, activeTab, getRedirectLink,
|
|
|
109
109
|
if (all.empty) {
|
|
110
110
|
return <div className="daf-default-cell" />
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
const subjectMap = {
|
|
113
|
+
"corrective-actions": "correctiveActions",
|
|
114
|
+
"activities": "activity",
|
|
115
|
+
}
|
|
113
116
|
const eventCategory = findOptions(v, data?.options?.eventCategoryOptions || data?.options?.categoryOptions);
|
|
114
|
-
const categoryValue = getEventCategoryBySubject(eventCategory,
|
|
117
|
+
const categoryValue = getEventCategoryBySubject(eventCategory, subjectMap[subject], true);
|
|
115
118
|
|
|
116
119
|
return categoryValue ? <Tooltip title={categoryValue}>{categoryValue}</Tooltip> : '-';
|
|
117
120
|
},
|