Nikolay Suslov 5 년 전
부모
커밋
cb747cb151
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      public/app.js

+ 1 - 0
public/app.js

@@ -738,6 +738,7 @@ class App {
 
               //var source = (typeof(sourceToEdit) =="object") ? JSON.stringify(sourceToEdit): sourceToEdit;
               if (file.includes('_json')) {
+                source = (typeof JSON.parse(source) == 'object') ? JSON.stringify(source, null, '\t'): source
                 //source = source;//JSON.stringify(source, null, '\t');
               }