Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
fix(default-theme): remove unneeded parameter (#1397)
Browse files Browse the repository at this point in the history
* refactor(default-theme): add .vue extension #1385
  • Loading branch information
develth authored Mar 19, 2021
1 parent 1f445d6 commit fd66977
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ export default {
getComponent() {
try {
return () => ({
component: import(`@/components/listing/types/${this.filterCode}`),
component: import(`@/components/listing/types/${this.filterCode}.vue`),
error: NoFilterFound,
})
} catch (e) {
console.error("SwProductListingFilter:getComponent", e)
}
},
filterCode() {
return simplifyString(this.filter.label.toLowerCase(".vue"))
return simplifyString(this.filter.label.toLowerCase())
},
selectedValues() {
return this.selectedFilters || []
Expand Down

1 comment on commit fd66977

@vercel
Copy link

@vercel vercel bot commented on fd66977 Mar 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.