Skip to content

Commit

Permalink
Merge PR #2924 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Sep 16, 2024
2 parents f28a0d1 + 9e1b022 commit 58b8b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_m2x_options/static/src/components/form.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ patch(FormController.prototype, {
viewType = isSmall ? "kanban" : "list";
}
field.viewMode = viewType;
if (field.views[viewType] && limit) {
if (field.views && field.views[viewType] && limit) {
field.views[viewType].limit = limit;
}
}
Expand Down

0 comments on commit 58b8b2a

Please sign in to comment.