@vtx/modals2 6.0.0-beta.18 → 6.0.0-beta.19
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.
|
@@ -144,7 +144,7 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
144
144
|
showFields = _BaseService$useField.showFields;
|
|
145
145
|
var code = useMemo(function () {
|
|
146
146
|
var code = '';
|
|
147
|
-
var actionType =
|
|
147
|
+
var actionType = info === null || info === void 0 ? void 0 : info.actionType;
|
|
148
148
|
if (defaultCode) {
|
|
149
149
|
code = defaultCode;
|
|
150
150
|
} else if (actionType && !defaultCode) {
|
|
@@ -166,8 +166,9 @@ var VtxCarModal = function VtxCarModal(props) {
|
|
|
166
166
|
}, [defaultCode, info === null || info === void 0 ? void 0 : info.actionType]);
|
|
167
167
|
var tabs = useMemo(function () {
|
|
168
168
|
var tabs = [];
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
var _ref = info || {},
|
|
170
|
+
_ref$actionType = _ref.actionType,
|
|
171
|
+
actionType = _ref$actionType === void 0 ? '' : _ref$actionType;
|
|
171
172
|
if (!actionType) {
|
|
172
173
|
return [];
|
|
173
174
|
}
|