HM-42 Облагородил вывод информации апи в модалке (#16)

This commit is contained in:
mrPadre
2020-07-16 19:05:36 +03:00
committed by GitHub
parent 7a56fcc777
commit 3691e393c6
4 changed files with 53 additions and 8 deletions

View File

@ -19,7 +19,7 @@ class ApiInfoComponent extends Component {
if (this.object) {
this.infoTitle.textContent = this.object.key ;
this.infoSidebar.textContent = this.object.description;
this.infoEditor.textContent = this.object.value;
this.infoEditor.innerHTML = JSON.stringify(this.object.value);
this.infoFooter.textContent = this.object.author;
}