This is now unused: through the js controller only at startup

This commit is contained in:
Jean-Baptiste Bellet
2023-06-29 17:29:11 +02:00
parent 3da6e02192
commit 0fd4d892d9

View File

@@ -7,11 +7,7 @@ export default class extends ApplicationController {
this.fetch();
}
fetch = (event = {}) => {
if (event && event.target) {
this.stimulate("Products#fetch", event.target);
return;
}
fetch = () => {
this.stimulate("Products#fetch");
};