When updating a language keep the JSON with new lines

This commit is contained in:
George Kalampokis 2020-02-03 11:08:19 +02:00
parent f5de71d0ad
commit c18c9b7dc7
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export class LanguageEditorComponent extends BaseComponent implements OnInit {
}
updateLang() {
const json = JSON.stringify(this.formGroup.value);
const json = JSON.stringify(this.formGroup.value, null, " ");
this.language.updateLanguage(json).pipe(takeUntil(this._destroyed))
.subscribe(
complete => {