Fix recordList destroyEvents
This commit is contained in:
@@ -1871,10 +1871,10 @@ export default {
|
||||
destroyEvents () {
|
||||
const { pageID = NoID } = this.page
|
||||
|
||||
this.$root.$on(`record-line:collect:${this.uniqueID}`, this.resolveRecords)
|
||||
this.$root.$on(`page-block:validate:${this.uniqueID}`, this.validatePageBlock)
|
||||
this.$root.$on(`drill-down-recordList:${this.uniqueID}`, this.setDrillDownFilter)
|
||||
this.$root.$on(`refetch-non-record-blocks:${pageID}`, () => {
|
||||
this.$root.$off(`record-line:collect:${this.uniqueID}`, this.resolveRecords)
|
||||
this.$root.$off(`page-block:validate:${this.uniqueID}`, this.validatePageBlock)
|
||||
this.$root.$off(`drill-down-recordList:${this.uniqueID}`, this.setDrillDownFilter)
|
||||
this.$root.$off(`refetch-non-record-blocks:${pageID}`, () => {
|
||||
this.refresh(true)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user