Skip to content

Commit

Permalink
fix: metaToValue get null value (#151)
Browse files Browse the repository at this point in the history
* fix: metaTovalue get null value

* Update src/renderer/remote.ts

Co-authored-by: Erick Zhao <erick@hotmail.ca>

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>
  • Loading branch information
Rabbitzzc and erickzhao committed Aug 30, 2023
1 parent 077b825 commit 6ed3223
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ function proxyFunctionProperties (remoteMemberFunction: Function, metaId: number

// Convert meta data from browser into real value.
function metaToValue (meta: MetaType): any {
if (!meta) return {}
if (meta.type === 'value') {
return meta.value
} else if (meta.type === 'array') {
Expand Down

0 comments on commit 6ed3223

Please sign in to comment.