Editor TypeScript

This commit is contained in:
Mo Bitar
2020-04-11 19:42:50 -05:00
parent 16bde8d1d4
commit 2bc3658f1a
15 changed files with 794 additions and 614 deletions

View File

@@ -157,10 +157,10 @@ class FooterCtrl extends PureCtrl {
streamItems() {
this.application.streamItems({
contentType: ContentTypes.Component,
contentType: ContentType.Component,
stream: async () => {
this.rooms = this.application.getItems({
contentType: ContentTypes.Component
contentType: ContentType.Component
}).filter((candidate) => {
return candidate.area === 'rooms' && !candidate.deleted;
});
@@ -175,7 +175,7 @@ class FooterCtrl extends PureCtrl {
contentType: 'SN|Theme',
stream: async () => {
const themes = this.application.getDisplayableItems({
contentType: ContentTypes.Theme
contentType: ContentType.Theme
}).filter((candidate) => {
return (
!candidate.deleted &&