When updating a language keep the JSON with new lines
This commit is contained in:
parent
f5de71d0ad
commit
c18c9b7dc7
|
@ -65,7 +65,7 @@ export class LanguageEditorComponent extends BaseComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
updateLang() {
|
updateLang() {
|
||||||
const json = JSON.stringify(this.formGroup.value);
|
const json = JSON.stringify(this.formGroup.value, null, " ");
|
||||||
this.language.updateLanguage(json).pipe(takeUntil(this._destroyed))
|
this.language.updateLanguage(json).pipe(takeUntil(this._destroyed))
|
||||||
.subscribe(
|
.subscribe(
|
||||||
complete => {
|
complete => {
|
||||||
|
|
Loading…
Reference in New Issue