Skip to content

Commit

Permalink
Updated to v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tanaikech committed Jan 30, 2024
1 parent 8258b24 commit 2b3d717
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ExcelApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@
if (title) {
temp.image.title = title.getValue();
}
temp.image.blob = this.mainObj.fileObj[filename].setName(filename.split("/").pop()) || null;
temp.image.blob = (this.mainObj.fileObj[filename] && this.mainObj.fileObj[filename].setName(filename.split("/").pop())) || null;
temp.image.innerCell = temp.range.colOff === 0 && temp.range.rowOff === 0 ? true : false;
} else if (sp) {
temp.drawing = {
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -745,5 +745,9 @@ There are no methods yet.
- v1.2.1 (December 28, 2022)

1. Remove a bug in `ExcelApp`.


- v1.2.2 (January 30, 2024)

1. Remove a bug in `ExcelApp`. When the inserted image had no data, an error occurred. This issue was removed.

[TOP](#top)

0 comments on commit 2b3d717

Please sign in to comment.