Skip to content

Commit

Permalink
Added an empty view name as default, because this leads to failure wh…
Browse files Browse the repository at this point in the history
…ile recording
  • Loading branch information
tabris87 committed Mar 16, 2023
1 parent b5f43d1 commit c782b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/assets/scripts/page_inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@
}

return {
absoluteViewName: curEl.getViewName(),
relativeViewName: curEl.getViewName().split(".").pop()
absoluteViewName: curEl?.getViewName() || '',
relativeViewName: curEl?.getViewName().split(".").pop() || ''
};
}

Expand Down

0 comments on commit c782b83

Please sign in to comment.