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

Commit

Permalink
refactor(theme): revert price filter
Browse files Browse the repository at this point in the history
  • Loading branch information
patzick committed Nov 28, 2019
1 parent 9e734fe commit b8a8bbd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/default-theme/components/SwCart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ export default {
totalPrice,
removeProduct
}
},
filters: {
price: function(price) {
if (!price) return;
return `$${price}`;
}
}
};
</script>
Expand Down

0 comments on commit b8a8bbd

Please sign in to comment.