summaryrefslogtreecommitdiff
path: root/iridescence/src/components
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-12-27 16:16:53 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-12-27 16:16:53 -0500
commit9c02faa06170d7d3140bf252d1dca4630e4b0172 (patch)
treecc82e2c6044f0acf3f03cd5ac2482c55b7da029a /iridescence/src/components
parent91b538c776071a7ae60adfa25bfcaccc0403896e (diff)
downloadtheglassyladies-9c02faa06170d7d3140bf252d1dca4630e4b0172.tar.xz
theglassyladies-9c02faa06170d7d3140bf252d1dca4630e4b0172.zip
moved more deploy-specific data to config, finalized login process
Diffstat (limited to 'iridescence/src/components')
-rw-r--r--iridescence/src/components/ProductCard.vue2
-rw-r--r--iridescence/src/components/ProductDetail.vue6
-rw-r--r--iridescence/src/components/admin/ProductEditCard.vue2
3 files changed, 4 insertions, 6 deletions
diff --git a/iridescence/src/components/ProductCard.vue b/iridescence/src/components/ProductCard.vue
index f796f92..144dd9e 100644
--- a/iridescence/src/components/ProductCard.vue
+++ b/iridescence/src/components/ProductCard.vue
@@ -54,7 +54,7 @@ export default {
return "$ " + (this.cents / 100).toFixed(2);
},
thumbnail() {
- return process.env.VUE_APP_IMAGE_ROOT + "/" + this.photo_thumbnail;
+ return process.env.VUE_APP_IMAGE_ROOT + this.photo_thumbnail;
},
shortDescription() {
let description = this.description.split(" ");
diff --git a/iridescence/src/components/ProductDetail.vue b/iridescence/src/components/ProductDetail.vue
index 6aeb68c..a67e39f 100644
--- a/iridescence/src/components/ProductDetail.vue
+++ b/iridescence/src/components/ProductDetail.vue
@@ -110,13 +110,11 @@ export default {
return "$ " + (this.product.cents / 100).toFixed(2);
},
base() {
- return [process.env.VUE_APP_IMAGE_ROOT, this.product.photo_base].join(
- "/"
- );
+ return [process.env.VUE_APP_IMAGE_ROOT, this.product.photo_base].join("");
},
fullsize() {
return [process.env.VUE_APP_IMAGE_ROOT, this.product.photo_fullsize].join(
- "/"
+ ""
);
},
categories() {
diff --git a/iridescence/src/components/admin/ProductEditCard.vue b/iridescence/src/components/admin/ProductEditCard.vue
index f8895aa..88d8e91 100644
--- a/iridescence/src/components/admin/ProductEditCard.vue
+++ b/iridescence/src/components/admin/ProductEditCard.vue
@@ -161,7 +161,7 @@ export default {
},
computed: {
thumbnail: function() {
- return process.env.VUE_APP_IMAGE_ROOT + "/" + this.old.photo_thumbnail;
+ return process.env.VUE_APP_IMAGE_ROOT + this.old.photo_thumbnail;
},
old: function() {
return this.$store.getters.products.find(p => p.id == this.oldid) || {};