diff --git a/app/javascript/alchemy_admin/components/attachment_select.js b/app/javascript/alchemy_admin/components/attachment_select.js index 67672c1e88..fea6c7ab1d 100644 --- a/app/javascript/alchemy_admin/components/attachment_select.js +++ b/app/javascript/alchemy_admin/components/attachment_select.js @@ -8,14 +8,15 @@ class AttachmentSelect extends RemoteSelect { /** * html template for each list entry * @param {object} page + * @param {string} term * @returns {string} * @private */ - _renderListEntry(attachment) { + _renderListEntry(attachment, term) { return `
` } diff --git a/app/javascript/alchemy_admin/components/node_select.js b/app/javascript/alchemy_admin/components/node_select.js index fbf307c838..cae62551de 100644 --- a/app/javascript/alchemy_admin/components/node_select.js +++ b/app/javascript/alchemy_admin/components/node_select.js @@ -18,10 +18,11 @@ class NodeSelect extends RemoteSelect { /** * html template for each list entry * @param {object} node + * @param {string} term * @returns {string} * @private */ - _renderListEntry(node) { + _renderListEntry(node, term) { const ancestors = node.ancestors.map((a) => a.name) const seperator = `