This fixes the bug where a webview (Table, Tree, or Diagram) crashes when a context menu is not defined. Bug occurs when a user right clicks in the webview.
closes #53
Testing performed
[x] I have added unit tests to cover additional functionality (Frontend tests still need to be added)
Checklist before submitting a merge request
Description of contribution
This fixes the bug where a webview (Table, Tree, or Diagram) crashes when a context menu is not defined. Bug occurs when a user right clicks in the webview. closes #53
Testing performed
How to Test Expected functionality changes
[Describe expected behaviour changes in steps]
main
branchgit pull
./gradlew load
or from theSetup Tasks
webviewdecompositions-autogen
diagram webviewObjectives
table webviewRequirements
tree webviewAdditional context
[If needed, you may add additional context]