mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
fixes
This commit is contained in:
@@ -27,7 +27,7 @@ let modified = false;
|
||||
|
||||
function conditionMatch(condition, args) {
|
||||
if (_.isString(condition)) {
|
||||
return args.name == condition;
|
||||
return args.key == condition;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -74,9 +74,13 @@ function processJsonStep(json, args) {
|
||||
if (_.isPlainObject(value)) {
|
||||
if (_.intersection(args.allNames ?? [], Object.keys(value))?.length > 0) {
|
||||
modified = true;
|
||||
return value[args.name];
|
||||
return value[args.key];
|
||||
}
|
||||
}
|
||||
|
||||
if (value?._include) {
|
||||
return includes[value?._include];
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user