You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by am...@apache.org on 2023/02/09 19:28:02 UTC
[couchdb-fauxton] branch main updated: Fix: Space indent in the Mango Query editor doesn't match the indent guides (#1388)
This is an automated email from the ASF dual-hosted git repository.
amaranhao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git
The following commit(s) were added to refs/heads/main by this push:
new 53009f5e Fix: Space indent in the Mango Query editor doesn't match the indent guides (#1388)
53009f5e is described below
commit 53009f5e9ec654c3727cdbb4aefb28e39f3d046f
Author: Antonio Maranhao <30...@users.noreply.github.com>
AuthorDate: Thu Feb 9 14:27:56 2023 -0500
Fix: Space indent in the Mango Query editor doesn't match the indent guides (#1388)
Issue: https://github.com/apache/couchdb-fauxton/issues/1313
---
app/addons/documents/mango/mango.helper.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/addons/documents/mango/mango.helper.js b/app/addons/documents/mango/mango.helper.js
index 09586c09..e2a3d7cb 100644
--- a/app/addons/documents/mango/mango.helper.js
+++ b/app/addons/documents/mango/mango.helper.js
@@ -39,7 +39,7 @@ const getIndexName = ({def, type}) => {
};
const formatCode = (code) => {
- return JSON.stringify(code, null, 3);
+ return JSON.stringify(code, null, 2);
};
const getIndexContent = (doc) => {