mirror of
https://github.com/we-promise/sure.git
synced 2026-04-09 15:24:48 +00:00
fix: Add multi-select toggle also in activities page. Make JS controller compatible also in this view.
This commit is contained in:
@@ -15,7 +15,7 @@ export default class extends Controller {
|
||||
})
|
||||
|
||||
if (!shouldShow) {
|
||||
const bulkSelectElement = this.element.closest("[data-controller~='bulk-select']");
|
||||
const bulkSelectElement = document.querySelector("[data-controller~='bulk-select']");
|
||||
if (bulkSelectElement) {
|
||||
const bulkSelectController = this.application.getControllerForElementAndIdentifier(
|
||||
bulkSelectElement,
|
||||
|
||||
Reference in New Issue
Block a user