resources/js/components/image-manager.js
Function setupListeners
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setupListeners() {
// Filter tab click
onSelect(this.filterTabs, e => {
this.resetAll();
this.filter = e.target.dataset.filter;
Function setup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setup() {
// Options
this.uploadedTo = this.$opts.uploadedTo;
// Element References