You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/javascript/js/controllers/media_library_controller.js
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ export default class extends Controller {
67
67
insertAttachments(attachments,event){
68
68
// show an error if the controller is not found
69
69
if(!this.otherController){
70
-
console.error('[Avo->] The Media Library failed to find any field outlets to inject the asset.')
70
+
console.error(`[Avo->] The Media Library failed to find any field outlets to inject the asset. Tried selector: ${this.controllerSelectorValue} and name: ${this.controllerNameValue}`)
71
71
72
72
return
73
73
}
@@ -82,7 +82,8 @@ export default class extends Controller {
0 commit comments