Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
morethanwords committed Dec 20, 2023
1 parent e45f708 commit 7e1bb3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/stories/viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ const Stories = (props: {
});

createEffect(() => {
if(!(story as StoryItem.storyItem).media_areas) {
if(!(story as StoryItem.storyItem).media_areas?.length) {
uMediaAreas();
return;
}
Expand Down
4 changes: 4 additions & 0 deletions src/lib/appManagers/appWebPagesManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ export class AppWebPagesManager extends AppManager {
this.apiUpdatesManager.addMultipleEventsListeners({
updateWebPage: (update) => {
this.saveWebPage(update.webpage);
},

updateChannelWebPage: (update) => {
this.saveWebPage(update.webpage);
}
});
}
Expand Down

0 comments on commit 7e1bb3f

Please sign in to comment.