diff --git a/meilisearch-http/public/interface.html b/meilisearch-http/public/interface.html index e58050eac..c36ae4093 100644 --- a/meilisearch-http/public/interface.html +++ b/meilisearch-http/public/interface.html @@ -215,7 +215,11 @@ const content = document.createElement('div'); content.classList.add("content"); - content.innerHTML = element[prop]; + if (typeof (element[prop]) === "object") { + content.innerHTML = JSON.stringify(element[prop]); + } else { + content.innerHTML = element[prop]; + } field.appendChild(attribute); field.appendChild(content);