From fd6697790d74dd11181e61f320b6068c66a3a83f Mon Sep 17 00:00:00 2001 From: Thomas Helmrich Date: Fri, 19 Mar 2021 10:03:11 +0100 Subject: [PATCH] fix(default-theme): remove unneeded parameter (#1397) * refactor(default-theme): add .vue extension #1385 --- .../src/components/listing/SwProductListingFilter.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/default-theme/src/components/listing/SwProductListingFilter.vue b/packages/default-theme/src/components/listing/SwProductListingFilter.vue index eaeb2c3e9..afbd4d1d9 100644 --- a/packages/default-theme/src/components/listing/SwProductListingFilter.vue +++ b/packages/default-theme/src/components/listing/SwProductListingFilter.vue @@ -44,7 +44,7 @@ export default { getComponent() { try { return () => ({ - component: import(`@/components/listing/types/${this.filterCode}`), + component: import(`@/components/listing/types/${this.filterCode}.vue`), error: NoFilterFound, }) } catch (e) { @@ -52,7 +52,7 @@ export default { } }, filterCode() { - return simplifyString(this.filter.label.toLowerCase(".vue")) + return simplifyString(this.filter.label.toLowerCase()) }, selectedValues() { return this.selectedFilters || []