Skip to content

Commit

Permalink
Merge pull request #840 from gisce/sync/v2-to-alpha-20250123-085610
Browse files Browse the repository at this point in the history
fix: sync changes from v2 to alpha
  • Loading branch information
mguellsegarra authored Jan 23, 2025
2 parents 12b2bbc + a87bc2c commit b4d367c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gisce/react-ooui",
"version": "2.57.2",
"version": "2.57.3",
"engines": {
"node": "20.5.0"
},
Expand Down
12 changes: 12 additions & 0 deletions src/views/ActionView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,18 @@ function ActionView(props: Props, ref: any) {
showErrorDialog(
`Error determining the first view to show for model ${model}.\nPlease, make sure the view ids on the fields_view_get responses are the same as the ones defined in the action`,
);
console.error(
"Error determining the first view to show for model",
JSON.stringify({
model,
views,
initialView,
availableViews: viewDataRetrieved,
currentViewToAssign,
action_id,
action_type,
}),
);
onRemoveTab?.(tabKey);
}

Expand Down

0 comments on commit b4d367c

Please sign in to comment.