Skip to content

Commit

Permalink
Prevent bulk edit from being initialized without a module
Browse files Browse the repository at this point in the history
  • Loading branch information
Fajfa committed Dec 12, 2024
1 parent 6c75df8 commit efb8a90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/web/compose/src/components/PageBlocks/RecordBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

<!-- Modal for inline editing -->
<bulk-edit-modal
v-if="options.inlineRecordEditEnabled"
v-if="options.inlineRecordEditEnabled && fieldModule"
:namespace="namespace"
:module="fieldModule"
:selected-records="inlineEdit.recordIDs"
Expand Down Expand Up @@ -139,7 +139,7 @@ export default {
inlineEdit: {
fields: [],
recordIDs: [],
initialRecord: {},
record: {},
},
abortableRequests: [],
Expand Down

0 comments on commit efb8a90

Please sign in to comment.