Don't assume we have a title
This commit is contained in:
parent
9ff1443878
commit
64a841f450
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export class WidgetComponent {
|
|||
widget.dimension = {
|
||||
newUrl: this.unwrapUrl(widget.url),
|
||||
newName: widget.name,
|
||||
newTitle: widget.data.title,
|
||||
newTitle: widget.data ? widget.data.title : null,
|
||||
newData: JSON.parse(JSON.stringify(widget.data || "{}")),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue