diff --git a/src/domain/SessionPickerViewModel.js b/src/domain/SessionPickerViewModel.js index c07a608a..2347dfe4 100644 --- a/src/domain/SessionPickerViewModel.js +++ b/src/domain/SessionPickerViewModel.js @@ -69,7 +69,7 @@ class SessionItemViewModel extends EventEmitter { get json() { if (this._showJSON) { - return JSON.stringify(this._sessionInfo, undefined, 2); + return JSON.stringify(this._sessionInfo); } return null; } diff --git a/src/ui/web/login/SessionPickerView.js b/src/ui/web/login/SessionPickerView.js index 2d2f81c2..c52aed31 100644 --- a/src/ui/web/login/SessionPickerView.js +++ b/src/ui/web/login/SessionPickerView.js @@ -1,7 +1,7 @@ import ListView from "../general/ListView.js"; import TemplateView from "../general/TemplateView.js"; -class SessionPickerItem extends TemplateView { +class SessionPickerItemView extends TemplateView { constructor(vm) { super(vm, true); this._onDeleteClick = this._onDeleteClick.bind(this); @@ -52,7 +52,7 @@ export default class SessionPickerView extends TemplateView { } }, }, sessionInfo => { - return new SessionPickerItem(sessionInfo); + return new SessionPickerItemView(sessionInfo); }); return super.mount(); }