aloha-vue 1.2.27 → 1.2.28
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
|
@@ -45,12 +45,12 @@ export default function LinkAPI(props) {
|
|
|
45
45
|
if (column.value.to.queryDynamic) {
|
|
46
46
|
let hasParamsDynamicError = false;
|
|
47
47
|
forEach(column.value.to.queryDynamic, (value, key) => {
|
|
48
|
-
const
|
|
49
|
-
if (isUndefined(
|
|
48
|
+
const QUERY_VALUE = get(row.value, value);
|
|
49
|
+
if (isUndefined(QUERY_VALUE)) {
|
|
50
50
|
hasParamsDynamicError = true;
|
|
51
51
|
return false;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
QUERY[key] = QUERY_VALUE;
|
|
54
54
|
});
|
|
55
55
|
if (hasParamsDynamicError) {
|
|
56
56
|
return undefined;
|
|
@@ -149,12 +149,12 @@ export default function RowActionsAPI(props) {
|
|
|
149
149
|
if (rowAction.to.queryDynamic) {
|
|
150
150
|
let hasParamsDynamicError = false;
|
|
151
151
|
forEach(rowAction.to.queryDynamic, (value, key) => {
|
|
152
|
-
const
|
|
153
|
-
if (isUndefined(
|
|
152
|
+
const QUERY_VALUE = get(row.value, value);
|
|
153
|
+
if (isUndefined(QUERY_VALUE)) {
|
|
154
154
|
hasParamsDynamicError = true;
|
|
155
155
|
return false;
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
QUERY[key] = QUERY_VALUE;
|
|
158
158
|
});
|
|
159
159
|
if (hasParamsDynamicError) {
|
|
160
160
|
return undefined;
|