* @param {Object} resource - The resource to navigate to
* @return {void}
*/
goToResourceShow: function (resource, dt, event) {
goToResourceShow: function (resource) {
event?.preventDefault()
this.$router.push({
name: this.show_component,
params: { [this.id_attr]: resource[this.id_attr] },
orderable: true,
render: function (data, type, row, meta) {
return (
'<a href="/cgi-bin/koha/erm/agreements/' +
'<a role="button" class="show">' +
row.agreement_id +
'" class="show">' +
escape_str(`${row.name} (#${row.agreement_id})`) +
"</a>"
)
-