Skip to content

Commit 29074b8

Browse files
committed
Another bugfix in picture handling
1 parent e34fdf6 commit 29074b8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fails-components/notepadhandler",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "Supplies server side notepad handling",
55
"author": "Marten Richter",
66
"license": "AGPL-3.0-or-later",

src/notepadhandler.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,8 @@ export class NoteScreenConnection {
650650
)
651651
// console.log("lecturedoc",lecturedoc);
652652

653+
if (!lecturedoc.pictures) return []
654+
653655
return lecturedoc.pictures.map((el) => {
654656
return {
655657
name: el.name,

0 commit comments

Comments
 (0)