mirror of https://gitee.com/bigwinds/arangodb
Fixed the web UI to properly display JSON properties of user defined Foxx services configuration (#6611)
This commit is contained in:
parent
d78f7fa29e
commit
24866dcff6
|
@ -459,7 +459,7 @@
|
||||||
} else if (obj.type === 'json') {
|
} else if (obj.type === 'json') {
|
||||||
methodName = 'createBlobEntry';
|
methodName = 'createBlobEntry';
|
||||||
defaultValue = obj.default === undefined ? '' : JSON.stringify(obj.default);
|
defaultValue = obj.default === undefined ? '' : JSON.stringify(obj.default);
|
||||||
currentValue = obj.current === undefined ? '' : obj.current;
|
currentValue = obj.current === undefined ? '' : JSON.stringify(obj.current);
|
||||||
checks.push({
|
checks.push({
|
||||||
rule: function (v) {
|
rule: function (v) {
|
||||||
return v && JSON.parse(v);
|
return v && JSON.parse(v);
|
||||||
|
|
Loading…
Reference in New Issue