Revert "Revert "Revert "Bug 41328: [25.05.x] Fix incorrect use of ref in KohaTable.vue"""
This reverts commit eb40aba260797b88759ab3b57ffae4a3259936a1. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
4ada9a14c9
commit
dcad6c052f
|
|
@ -93,10 +93,10 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
redraw: function (url) {
|
||||
this.$refs.table.dt.ajax.url(url).draw();
|
||||
this.$refs.table.dt().ajax.url(url).draw();
|
||||
},
|
||||
useTableObject: function () {
|
||||
let dt = this.$refs.table.dt;
|
||||
let dt = this.$refs.table.dt();
|
||||
return dt;
|
||||
},
|
||||
},
|
||||
|
|
@ -208,7 +208,7 @@ export default {
|
|||
}
|
||||
},
|
||||
mounted() {
|
||||
let dt = this.$refs.table.dt;
|
||||
let dt = this.$refs.table.dt();
|
||||
let table_node = dt.table().node();
|
||||
let add_filters = this.add_filters;
|
||||
let filters_options = this.filters_options;
|
||||
|
|
@ -254,7 +254,7 @@ export default {
|
|||
}
|
||||
},
|
||||
beforeUnmount() {
|
||||
const dt = this.$refs.table.dt;
|
||||
const dt = this.$refs.table.dt();
|
||||
dt.destroy();
|
||||
},
|
||||
components: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue