From 6e392f4cfbb1a8448dd1e63a658721421f86d64e Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 19 Jun 2023 14:44:12 +0900 Subject: [PATCH] After changing PoS items in UpdatePoS ident the JSON template --- BTCPayServer/Views/Shared/TemplateEditor.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Views/Shared/TemplateEditor.cshtml b/BTCPayServer/Views/Shared/TemplateEditor.cshtml index 9e2669966..fdb71f4fa 100644 --- a/BTCPayServer/Views/Shared/TemplateEditor.cshtml +++ b/BTCPayServer/Views/Shared/TemplateEditor.cshtml @@ -166,7 +166,7 @@ document.addEventListener("DOMContentLoaded", function () { } }, save: function(){ - let template = JSON.stringify(this.items); + let template = JSON.stringify(this.items, null, 2); this.getInputElement().val(template); }, editItem: function(index){