pinelab-storefront-client
Advanced tools
Comparing version 0.22.0 to 0.22.1
module.exports = { | ||
async mounted() { | ||
this.$vendure.getActiveOrder().then((order) => { | ||
if (!order?.lines?.length) { | ||
const hasLines = order && order.lines && order.lines && order.lines.length; | ||
if (!hasLines) { | ||
this.$router.push('/'); | ||
@@ -6,0 +7,0 @@ } |
{ | ||
"name": "pinelab-storefront-client", | ||
"version": "0.22.0", | ||
"version": "0.22.1", | ||
"description": "Generates static html pages with Gridsome and suplied Vue components", | ||
@@ -38,3 +38,3 @@ "author": "Martijn van de Brug <martijn@pinelab.studio>", | ||
}, | ||
"gitHead": "79bfdf3c5159234aa02de1166d3544b1cc7c496e" | ||
"gitHead": "4c86781c58e59a1a6d580de0062d4bbfe7c706b5" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
420774
2201