We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fefdf74 commit 8a939b2Copy full SHA for 8a939b2
adminforth/spa/src/components/ThreeDotsMenu.vue
@@ -174,8 +174,12 @@ function startBulkAction(actionId: string) {
174
175
async function injectedComponentClick(index: number) {
176
const componentRef = threeDotsDropdownItemsRefs.value[index];
177
- if (componentRef && 'click' in componentRef) {
178
- (componentRef as any).click?.();
+ if (componentRef) {
+ if (typeof (componentRef as any).click === 'function') {
179
+ (componentRef as any).click();
180
+ } else if (componentRef.$el && typeof componentRef.$el.click === 'function') {
181
+ componentRef.$el.click();
182
+ }
183
}
184
showDropdown.value = false;
185
0 commit comments