2022-02-10 01:21:49 -07:00
|
|
|
const { TemplateView, RoomView, RightPanelView } = require('hydrogen-view-sdk');
|
2022-02-10 00:42:02 -07:00
|
|
|
|
2022-02-10 01:21:49 -07:00
|
|
|
class ArchiveView extends TemplateView {
|
2022-02-10 00:42:02 -07:00
|
|
|
render(t, vm) {
|
2022-02-10 01:21:49 -07:00
|
|
|
return t.div(
|
|
|
|
{
|
2022-02-10 00:42:02 -07:00
|
|
|
className: {
|
2022-02-10 01:21:49 -07:00
|
|
|
ArchiveView: true,
|
2022-02-10 00:42:02 -07:00
|
|
|
},
|
2022-02-10 01:21:49 -07:00
|
|
|
},
|
|
|
|
[t.view(new RoomView(vm.roomViewModel)), t.view(new RightPanelView(vm.rightPanelModel))]
|
|
|
|
);
|
2022-02-10 00:42:02 -07:00
|
|
|
}
|
|
|
|
}
|
2022-02-10 01:21:49 -07:00
|
|
|
|
|
|
|
module.exports = ArchiveView;
|